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


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

            Bug ID: 16526
           Summary: Missing underflow exception from sincos
           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

on x86_64 we get (where sincos1 compute the sine using the sincos function):

Testing function sincos1 for exponent 0 [seed=1823].
 rounding mode MPFR_RNDN:
      wrong underflow flag for x=4.0000000000000@-269
      library gives 4.0000000000000@-269
      mpfr    gives 4.0000000000000@-269
      underflow: mpfr 1, library 0

Since 4.0000000000000@-269 = 0x1p-1074 is the smallest subnormal, an 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]