[Bug other/53319] exact subtract of two decimal floating-point values raises FE_INEXACT
tydeman at tybor dot com
gcc-bugzilla@gcc.gnu.org
Sat May 12 15:55:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53319
--- Comment #5 from Fred J. Tydeman <tydeman at tybor dot com> 2012-05-12 15:37:54 UTC ---
Another failure:
_Decimal32 val, lo;
val = 0.e-40DF;
lo = 9.e-1DF;
val += lo; /* raises FE_INEXACT */
This is with gcc 4.5.1 on Linux Fedora Core 14 on Intel Core 2 in 32-bit mode.
Command line options:
-std=gnu99 -O0 -pedantic -H -fno-builtin -frounding-math -mieee-fp
-ffloat-store -fexcess-precision=standard
More information about the Gcc-bugs
mailing list