Lines Matching refs:exp
53 * 1. For large values of x sinh(x) ~= signum(x)*exp(|x|)/2
276 // insignificant to the floating-point result. Util exp(x)
277 // overflows around 709.8, sinh(x) ~= exp(x)/2; will will test
281 // (approximately) largest value such that exp shouldn't
291 // Allow 3.5 ulps of error to deal with error in exp.
292 failures += testSinhCaseWithUlpDiff(d, StrictMath.exp(d)*0.5, 3.5);
299 // Make sure sinh(x) doesn't overflow as soon as exp(x)
308 * exp(x + -0.693147186). However, this sum suffers from
322 * exp(x + offset)*exp(rounded_away_offset)
328 * than exp(x+offset) alone. (The expected result cannot be
329 * computed as exp(x)*exp(offset) since exp(x) by itself would
338 StrictMath.exp(input + offset) *
339 StrictMath.exp( offset - ((input + offset) - input) );
412 * 1. For large values of x cosh(x) ~= exp(|x|)/2
635 // insignificant to the floating-point result. Util exp(x)
636 // overflows around 709.8, cosh(x) ~= exp(x)/2; will will test
640 // (approximately) largest value such that exp shouldn't
650 // Allow 3.5 ulps of error to deal with error in exp.
651 failures += testCoshCaseWithUlpDiff(d, StrictMath.exp(d)*0.5, 3.5);
658 // Make sure sinh(x) doesn't overflow as soon as exp(x)
667 * exp(x + -0.693147186). However, this sum suffers from
681 * exp(x + offset)*exp(rounded_away_offset)
687 * than exp(x+offset) alone. (The expected result cannot be
688 * computed as exp(x)*exp(offset) since exp(x) by itself would
697 StrictMath.exp(input + offset) *
698 StrictMath.exp( offset - ((input + offset) - input) );