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/16353] expm1 missing/spurious underflows


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

Paul Zimmermann <zimmerma+gcc at loria dot fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|expm1 missing underflows    |expm1 missing/spurious
                   |                            |underflows

--- Comment #4 from Paul Zimmermann <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]