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/6796] fdim() does not set errno on overflow


------- Additional Comments From mtk dot manpages at gmail dot com  2008-07-31 10:07 -------
Created an attachment (id=2858)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2858&action=view)
test program

Sample run demonstrating the problem

$ /tmp/mt_fdim -- dbl_max -dbl_max
errno == 0
fetestexcept() says:  FE_OVERFLOW FE_INEXACT
fdim(1.79769313486231571e+308,-1.79769313486231571e+308)=inf
0 FE_OVERFLOW +inf


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6796

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