This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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 math/9783] fetestexcept(FE_INEXACT) does not return expected result when inexact trapping is disabled


------- 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.


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