[Bug math/16517] New: Missing underflow exception from tanf

zimmerma+gcc at loria dot fr sourceware-bugzilla@sourceware.org
Fri Jan 31 22:58:00 GMT 2014


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

            Bug ID: 16517
           Summary: Missing underflow exception from tanf
           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 7382
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7382&action=edit
test program

on x86_64 the attached test program gives:

GNU libc version: 2.18.90
GNU libc release: development
x=0x1p-149 (1.401298464e-45)
libc: tanf(x)=0x1p-149 (1.401298464e-45) underflow=0
mpfr: tanf(x)=0x1p-149 (1.401298464e-45)
ulp difference: 0.000000

Since the result is the smallest positive subnormal, an underflow exception
should be raised

See http://webloria.loria.fr/~zimmerma/glibc/

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



More information about the Glibc-bugs mailing list