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/6804] scalb() does not set errno on domain error


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

Sample runs demonstrating the problem:

$ /tmp/mt_scalb -- 0 inf
errno == 0
fetestexcept() says:  FE_INVALID
scalb(0.00000000000000000e+00,inf)=nan
0 FE_INVALID nan

$ /tmp/mt_scalb -- inf -inf
errno == 0
fetestexcept() says:  FE_INVALID
scalb(inf,-inf)=nan
0 FE_INVALID nan


-- 


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

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