This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/53319] exact subtract of two decimal floating-point values raises FE_INEXACT


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]