This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: real_to_decimal rounds incorrectly
On Sat, Oct 19, 2002 at 01:54:47PM -0400, Stephen L Moshier wrote:
> IEEE-specific modifications were taken from the IEEE spec.
> Other than that, I draw a blank on references. It's just arithmetic.
By inference, it appears to be (a variation of) Steele & White's 1990
algorithm.
I havn't been able to get hold of the original paper, not being an
ACM member, but I've found a few papers that expand on Steele & White's,
and which give a description good enough to recognize the salient points.
r~