Re: Floating point differences between GCC-7 and GCC-9?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* David Aldrich via Gcc-help:

> We are comparing results from our C++ app on Ubuntu 18.04 (gcc 7.3.0, glibc
> 2.27 ) and Ubuntu 20.04 (gcc 9.3.0, glibc 2.31 ).  We are seeing
> significant differences in floating point calculation results across these
> platforms.

Define significant. 8-)

There have been math function implementation changes in glibc in that
version range.  For most math functions, glibc does not guarantee
correctly rounded results, and there multiple acceptable results for
each input.  Which one you get depends on glibc version and the function
implementation chosen at run time (so there is a hardware/hypervisor
component as well).

Thanks,
Florian




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux