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

2012-05-13 Thread bje at air dot net.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53319

--- Comment #6 from bje at air dot net.au 2012-05-13 22:48:18 UTC ---
Thanks, I'll take a look.


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

2012-05-12 Thread tydeman at tybor dot com
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


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

2012-05-11 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53319

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

  Component|c   |other

--- Comment #3 from Andrew Pinski pinskia at gcc dot gnu.org 2012-05-11 
06:27:06 UTC ---
This seems like a bug in the library.


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

2012-05-11 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53319

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 Target||x86_64-*-*, i?86-*-*
 CC||bje at gcc dot gnu.org

--- Comment #4 from Richard Guenther rguenth at gcc dot gnu.org 2012-05-11 
08:29:17 UTC ---
Ben?