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/16539] New: spurious underflow exception from expm1


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

            Bug ID: 16539
           Summary: spurious underflow exception from expm1
           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

this example (in extended precision) gives a spurious underflow:

Testing function expm1 for exponent 0 [seed=8344].
 rounding mode MPFR_RNDN:
      wrong underflow flag for x=4.0000000000000028@-4096
      library gives 4.0000000000000028@-4096
      mpfr    gives 4.0000000000000028@-4096
      underflow: mpfr 0, library 16

Note the glibc result is *above* the smallest subnormal 0x1p-16382, thus no
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]