-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- polynomial5 did not provide as many coefficients as needed for sufficiently accurate results around x=7. Use sollya to recompute. - s6, s7, s8 multiplied by x rather than by xAbs, leading to incorrect results for x<0. - s6, s7, s8 lost precision in the multiplication by x. Use multiply_exact_unsafe instead, and then transform exp(mul_hi + mul_lo) into exp(mul_hi) * exp(mul_lo). - The transformation of erfc(-x) = 2 - erfc(x) checked the sign bit of the intermediate result, rather than the sign bit of x, again leading to incorrect results for x<0. - The cut-off point for returning 0 was set as x > 27.0, but this is not right, the cut-off point should be slightly higher. These errors were caught by a new test in OpenCL CTS.
- Loading branch information
Showing
1 changed file
with
38 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters