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/5717] New: pow() function on 486sx returns incorrect results


Bug discovered on x486sx without math co-processor (387).  glibc-2.7 used and
configured with option "--without-fp". 
TEST: pow(10.0, 3.0) returns 1023.972657

Inspected the source of "sysdeps/ieee754/dbl-64". My finding is that when math
is emulated pow() is virtualy __ieee754_pow(). So, I compiled __ieee754_pow() on
Fedora 8 modern PC for glibc2.7 and glibc2.4 to duplicated the problem. Surely,
in both cases

__ieee754_pow(10.0, 3.0)  returns 1023.972657

-- 
           Summary: pow() function on 486sx returns incorrect results
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: critical
          Priority: P2
         Component: math
        AssignedTo: aj at suse dot de
        ReportedBy: kborys at yahoo dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=5717

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]