This is the mail archive of the
mailing list for the GCC project.
Re: Kahan's Floating Point Test
On Wed, May 30, 2001 at 11:11:27AM -0400, firstname.lastname@example.org wrote:
> Assuming that you used the same compiler options in both cases, it appears
> that you have run with precision mode set to 53 bits in one case, and 64
> bits in the other (likely set by the run-time library), and that you have
> invoked different math libraries, apparently not invoking in-line sqrt() in
> one case. The standard versions of Paranoia aren't totally correct for the
> mixed 53- and 64- bit precision case. Many readers will claim that running
> in 64-bit precision mode is incorrect.
Do you have any information as to what to do on the linux machine to correct
this situation? Its annoying to have a program that heavily uses floating
point math to produce the same output on FreeBSD and Solaris but different
output on Linux.
Distributed Processing Lab; Lockheed Martin Adv. Tech. Labs
A&E 3W; 1 Federal Street; Camden, NJ 08102
856-338-4021, fax 856-338-4144 email: email@example.com