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/16519] New: Missing underflow exception from sinhf


https://sourceware.org/bugzilla/show_bug.cgi?id=16519

            Bug ID: 16519
           Summary: Missing underflow exception from sinhf
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: zimmerma+gcc at loria dot fr

Created attachment 7383
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7383&action=edit
test program

on x86_64 with the attached program I get:

GNU libc version: 2.18.90
GNU libc release: development
x=0x1.4p-146 (1.401298464e-44)
libc: sinhf(x)=0x1.4p-146 (1.401298464e-44) underflow=0
mpfr: sinhf(x)=0x1.4p-146 (1.401298464e-44)
ulp difference: 0.000000

The result 0x1.4p-146 is smaller than the smallest normal number, thus the
underflow exception should be raised.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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