Skip to content

Commit

Permalink
Fixed long lines in std/internal/math/gammafunction.d
Browse files Browse the repository at this point in the history
  • Loading branch information
JackStouffer committed May 11, 2016
1 parent 531ae8e commit db33adc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion std/internal/math/gammafunction.d
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,10 @@ unittest { // also tested by the normal distribution
assert(betaIncompleteInv(0.01, 8e-48, 9e-26) == 1-real.epsilon);

// Beware: a one-bit change in pow() changes almost all digits in the result!
assert(feqrel(betaIncompleteInv(0x1.b3d151fbba0eb18p+1, 1.2265e-19, 2.44859e-18), 0x1.c0110c8531d0952cp-1L) > 10);
assert(feqrel(
betaIncompleteInv(0x1.b3d151fbba0eb18p+1, 1.2265e-19, 2.44859e-18),
0x1.c0110c8531d0952cp-1L
) > 10);
// This next case uncovered a one-bit difference in the FYL2X instruction
// between Intel and AMD processors. This difference gets magnified by 2^^38.
// WolframAlpha crashes attempting to calculate this.
Expand Down

0 comments on commit db33adc

Please sign in to comment.