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/19238] New: [powerpc] round, roundf spurious "inexact" for integer arguments


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

            Bug ID: 19238
           Summary: [powerpc] round, roundf spurious "inexact" for integer
                    arguments
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---
              Host: powerpc*-*-*

The powerpc hard-float round and roundf functions, both 32-bit and 64-bit,
raise spurious "inexact" exceptions for integer arguments from adding 0.5 and
rounding to integer toward zero.  (This bug is only about the exceptions for
integer arguments, which are not permitted by C99/C11; noninteger arguments
also should not raise "inexact" as per TS 18661-1, but that's bug 15479.)

-- 
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]