Three floating-point failures in summation, cancellation and RANDU
Adding for up to a million left to right ends 414 units in the last place (ulps) from the correctly rounded sum; Kahan's compensated sum is correctly rounded at all 31 checkpoints from 1 to . Evaluating from its expanded coefficients near gives rounding noise: 89 sign changes among 401 points, where the polynomial has one, and 8.5 times the true value at . The factored form is within everywhere. The random number generator RANDU puts every triple of successive draws on one of 15 planes.
Look inside this program
- Atlas
The program’s map: every function and which calls which.
There’s no recorded run of this program yet.