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/2154] New: accuracy of cacoshl is bad.


Adding these tests to math/libm-test.inc's cacosh_test gives upto 770 ULPs for
the long double tests:

  TEST_c_c (cacosh, 0.3, 0.4, 0.405112337178030872507338405200229579L,
1.29016676450309079292712537938218583L);
  TEST_c_c (cacosh, -0.3, 0.4, 0.405112337178030872507338405200229579L,
1.85142588908670244553551800389731705L);
  TEST_c_c (cacosh, 0.3, -0.4, 0.405112337178030872507338405200229579L,
-1.29016676450309079292712537938218583L);
  TEST_c_c (cacosh, -0.3, -0.4, 0.405112337178030872507338405200229579L,
-1.85142588908670244553551800389731705L);

the float and double tests pass, just long double has this problem.

-- 
           Summary: accuracy of cacoshl is bad.
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
        AssignedTo: drepper at redhat dot com
        ReportedBy: aj at suse dot de
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: x86_64-linux-gnu
  GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu


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

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