This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/9783] fetestexcept(FE_INEXACT) does not return expected result when inexact trapping is disabled
- From: "mattst88 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 4 May 2010 17:16:25 -0000
- Subject: [Bug math/9783] fetestexcept(FE_INEXACT) does not return expected result when inexact trapping is disabled
- References: <20090124153748.9783.abramo.bagnara@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From mattst88 at gmail dot com 2010-05-04 17:16 -------
Can you still reproduce this? I just ran your test program on my UP1500 and and
could not reproduce:
# gcc -O2 -mcpu=ev67 -o sf2 -lm -mieee-with-inexact sf2.c
UP1500 ~ # ./sf2
With FE_INEXACT SIGFPE disabled
2.000000 / 3.000000
fetestexcept(FE_INEXACT) = 2097152
2.000000 / 2.000000
fetestexcept(FE_INEXACT) = 0
With FE_INEXACT SIGFPE enabled
2.000000 / 3.000000
inexact
fetestexcept(FE_INEXACT) = 2097152
2.000000 / 2.000000
fetestexcept(FE_INEXACT) = 0
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |mattst88 at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=9783
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.