Skip to content

Commit

Permalink
Update powerpc libm test ULPs
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Schwab committed Mar 26, 2012
1 parent a3f6131 commit c876e00
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
2012-03-26 Andreas Schwab <schwab@linux-m68k.org>

* sysdeps/powerpc/fpu/libm-test-ulps: Update.

* sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
denormal result into account.

Expand Down
26 changes: 24 additions & 2 deletions sysdeps/powerpc/fpu/libm-test-ulps
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,11 @@ ldouble: 2
Test "Imaginary part of: cexp (-2.0 - 3.0 i) == -0.13398091492954261346140525546115575 - 0.019098516261135196432576240858800925 i":
float: 1
ifloat: 1
Test "Imaginary part of: cexp (-95 + 0.75 i) == 4.039714446238306526889476684000081624047e-42 + 3.763383677300535390271646960780570275931e-42 i":
double: 1
idouble: 1
ildouble: 1
ldouble: 1
Test "Real part of: cexp (0.75 + 1.25 i) == 0.667537446429131586942201977015932112 + 2.00900045494094876258347228145863909 i":
float: 1
ifloat: 1
Expand All @@ -529,6 +534,9 @@ ldouble: 2
Test "Imaginary part of: cexp (0.75 + 1.25 i) == 0.667537446429131586942201977015932112 + 2.00900045494094876258347228145863909 i":
ildouble: 1
ldouble: 1
Test "Imaginary part of: cexp (1440 + 0x1p-1074 i) == inf + 1.196295853897226111293303155636183216483e302 i plus overflow exception":
double: 1
idouble: 1
Test "Real part of: cexp (50 + 0x1p127 i) == 4.053997150228616856622417636046265337193e21 + 3.232070315463388524466674772633810238819e21 i":
double: 2
float: 1
Expand All @@ -547,6 +555,20 @@ idouble: 1
Test "Imaginary part of: cexp (500 + 0x1p1023 i) == -1.159886268932754433233243794561351783426e217 + 7.904017694554466595359379965081774849708e216 i":
ildouble: 1
ldouble: 1
Test "Real part of: cexp (709.8125 + 0.75 i) == 1.355121963080879535248452862759108365762e308 + 1.262426823598609432507811340856186873507e308 i":
double: 1
idouble: 1
ildouble: 1
ldouble: 1
Test "Imaginary part of: cexp (709.8125 + 0.75 i) == 1.355121963080879535248452862759108365762e308 + 1.262426823598609432507811340856186873507e308 i":
double: 1
idouble: 1
Test "Real part of: cexp (88.75 + 0.75 i) == 2.558360358486542817001900410314204322891e38 + 2.383359453227311447654736314679677655100e38 i":
float: 1
ifloat: 1
Test "Imaginary part of: cexp (88.75 + 0.75 i) == 2.558360358486542817001900410314204322891e38 + 2.383359453227311447654736314679677655100e38 i":
float: 2
ifloat: 2

# clog
Test "Imaginary part of: clog (-2 - 3 i) == 1.2824746787307683680267437207826593 - 2.1587989303424641704769327722648368 i":
Expand Down Expand Up @@ -2127,9 +2149,9 @@ ldouble: 2

Function: Imaginary part of "cexp":
double: 1
float: 1
float: 2
idouble: 1
ifloat: 1
ifloat: 2
ildouble: 2
ldouble: 2

Expand Down

0 comments on commit c876e00

Please sign in to comment.