summaryrefslogtreecommitdiff
path: root/test/math/libm-test-ulps-microblaze
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-03 13:03:55 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-03 13:03:55 +0100
commit3384c45e66ddf18f235654b67ae34ac7dcb07534 (patch)
treeedbd0f03b72acb5961f7919e13da34a34a84fc23 /test/math/libm-test-ulps-microblaze
parent29d1023614fcfef8520edec8b64e9f8953d9a121 (diff)
math: sync with GNU libc
The format of the ULPS files have changed, non-glibc architecture files needs to be updated later. Add all math tests from latest GNU libc and allow to compile and run them on uClibc-ng and GNU libc systems.
Diffstat (limited to 'test/math/libm-test-ulps-microblaze')
-rw-r--r--test/math/libm-test-ulps-microblaze322
1 files changed, 281 insertions, 41 deletions
diff --git a/test/math/libm-test-ulps-microblaze b/test/math/libm-test-ulps-microblaze
index 46b2ac5..c252c96 100644
--- a/test/math/libm-test-ulps-microblaze
+++ b/test/math/libm-test-ulps-microblaze
@@ -1,145 +1,385 @@
# Begin of automatic generation
-# cos
-Test "cos (M_PI_6l * 2.0) == 0.5":
+# Maximal error of functions:
+Function: "acosh":
double: 1
idouble: 1
-Test "cos (M_PI_6l * 4.0) == -0.5":
-double: 2
+
+Function: "asinh":
+double: 1
+float: 1
+ifloat: 1
+
+Function: "atan2":
+float: 1
+ifloat: 1
+
+Function: "atanh":
float: 1
-idouble: 2
ifloat: 1
-# erf
-Test "erf (0.75) == 0.711155633653515131598937834591410777":
+Function: Real part of "cacos":
double: 1
+float: 2
idouble: 1
-Test "erf (1.25) == 0.922900128256458230136523481197281140":
+ifloat: 2
+
+Function: Imaginary part of "cacos":
double: 1
+float: 2
idouble: 1
+ifloat: 2
+
+Function: Real part of "cacosh":
+double: 1
+float: 2
+idouble: 1
+ifloat: 2
-# erfc
-Test "erfc (4.125) == 0.542340079956506600531223408575531062e-8":
+Function: Imaginary part of "cacosh":
double: 1
+float: 2
+idouble: 1
+ifloat: 2
+
+Function: Real part of "casin":
+double: 1
+float: 1
idouble: 1
+ifloat: 1
-# exp
-Test "exp (1) == e":
+Function: Imaginary part of "casin":
double: 1
+float: 2
idouble: 1
+ifloat: 2
-# expm1
-Test "expm1 (0.75) == 1.11700001661267466854536981983709561":
+Function: Real part of "casinh":
double: 1
+float: 2
idouble: 1
+ifloat: 2
-# hypot
-Test "hypot (-0.7, -12.4) == 12.419742348374220601176836866763271":
+Function: Imaginary part of "casinh":
+double: 1
float: 1
+idouble: 1
ifloat: 1
-Test "hypot (-0.7, 12.4) == 12.419742348374220601176836866763271":
+
+Function: Real part of "catan":
float: 1
ifloat: 1
-Test "hypot (-12.4, -0.7) == 12.419742348374220601176836866763271":
+
+Function: Imaginary part of "catan":
+double: 1
float: 1
+idouble: 1
ifloat: 1
-Test "hypot (-12.4, 0.7) == 12.419742348374220601176836866763271":
+
+Function: Real part of "catanh":
+double: 1
float: 1
+idouble: 1
ifloat: 1
-Test "hypot (0.7, -12.4) == 12.419742348374220601176836866763271":
+
+Function: Imaginary part of "catanh":
float: 1
ifloat: 1
-Test "hypot (0.7, 12.4) == 12.419742348374220601176836866763271":
+
+Function: "cbrt":
+double: 1
float: 1
+idouble: 1
ifloat: 1
-Test "hypot (12.4, -0.7) == 12.419742348374220601176836866763271":
+
+Function: Real part of "ccos":
+double: 1
float: 1
+idouble: 1
ifloat: 1
-Test "hypot (12.4, 0.7) == 12.419742348374220601176836866763271":
+
+Function: Imaginary part of "ccos":
+double: 1
float: 1
+idouble: 1
ifloat: 1
-# lgamma
-Test "lgamma (0.7) == 0.260867246531666514385732417016759578":
+Function: Real part of "ccosh":
double: 1
float: 1
idouble: 1
ifloat: 1
-Test "lgamma (1.2) == -0.853740900033158497197028392998854470e-1":
+
+Function: Imaginary part of "ccosh":
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
+
+Function: Real part of "cexp":
+double: 2
+float: 1
+idouble: 2
+ifloat: 1
+
+Function: Imaginary part of "cexp":
double: 1
float: 2
idouble: 1
ifloat: 2
-# log10
-Test "log10 (0.75) == -0.124938736608299953132449886193870744":
+Function: Real part of "clog":
double: 1
+float: 1
idouble: 1
-Test "log10 (e) == log10(e)":
+ifloat: 1
+
+Function: Imaginary part of "clog":
float: 1
ifloat: 1
-# tgamma
-Test "tgamma (-0.5) == -2 sqrt (pi)":
+Function: Real part of "clog10":
+double: 2
+float: 2
+idouble: 2
+ifloat: 2
+
+Function: Imaginary part of "clog10":
double: 1
+float: 1
idouble: 1
-Test "tgamma (0.7) == 1.29805533264755778568117117915281162":
+ifloat: 1
+
+Function: "cos":
+float: 1
+ifloat: 1
+
+Function: "cos_tonearest":
+float: 1
+ifloat: 1
+
+Function: "cosh":
double: 1
float: 1
idouble: 1
ifloat: 1
-# Maximal error of functions:
-Function: "cos":
+Function: "cosh_tonearest":
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
+
+Function: Real part of "cpow":
+double: 2
+float: 4
+idouble: 2
+ifloat: 4
+
+Function: Imaginary part of "cpow":
+float: 2
+ifloat: 2
+
+Function: Real part of "csin":
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
+
+Function: Real part of "csinh":
+float: 1
+ifloat: 1
+
+Function: Imaginary part of "csinh":
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
+
+Function: Real part of "csqrt":
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
+
+Function: Imaginary part of "csqrt":
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
+
+Function: Real part of "ctan":
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
+
+Function: Imaginary part of "ctan":
+double: 2
+float: 1
+idouble: 2
+ifloat: 1
+
+Function: Real part of "ctan_tonearest":
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
+
+Function: Imaginary part of "ctan_tonearest":
+double: 2
+float: 1
+idouble: 2
+ifloat: 1
+
+Function: Real part of "ctanh":
+double: 2
+float: 1
+idouble: 2
+ifloat: 1
+
+Function: Imaginary part of "ctanh":
+double: 2
+float: 2
+idouble: 2
+ifloat: 2
+
+Function: Real part of "ctanh_tonearest":
double: 2
float: 1
idouble: 2
ifloat: 1
+Function: Imaginary part of "ctanh_tonearest":
+double: 2
+float: 2
+idouble: 2
+ifloat: 2
+
Function: "erf":
double: 1
idouble: 1
Function: "erfc":
double: 1
+float: 1
idouble: 1
+ifloat: 1
-Function: "exp":
+Function: "exp10":
+double: 1
+idouble: 1
+
+Function: "exp10_tonearest":
double: 1
idouble: 1
Function: "expm1":
double: 1
+float: 1
idouble: 1
+ifloat: 1
-Function: "hypot":
+Function: "expm1_tonearest":
+double: 1
float: 1
+idouble: 1
ifloat: 1
-Function: "lgamma":
+Function: "gamma":
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
+
+Function: "hypot":
+double: 1
+idouble: 1
+
+Function: "j0":
+double: 2
+float: 2
+idouble: 2
+ifloat: 2
+
+Function: "j1":
double: 1
float: 2
idouble: 1
ifloat: 2
+Function: "jn":
+double: 4
+float: 4
+idouble: 4
+ifloat: 4
+
+Function: "lgamma":
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
+
Function: "log":
float: 1
ifloat: 1
Function: "log10":
double: 1
-float: 1
+float: 2
idouble: 1
+ifloat: 2
+
+Function: "log1p":
+float: 1
ifloat: 1
-Function: "tan":
+Function: "pow":
+float: 1
+ifloat: 1
+
+Function: "pow10":
double: 1
idouble: 1
+Function: "pow_tonearest":
+float: 1
+ifloat: 1
+
+Function: "sin":
+float: 1
+ifloat: 1
+
+Function: "sin_tonearest":
+float: 1
+ifloat: 1
+
+Function: "sincos":
+float: 1
+ifloat: 1
+
Function: "tgamma":
-double: 1
+double: 4
+float: 3
+idouble: 4
+ifloat: 3
+
+Function: "y0":
+double: 2
float: 1
-idouble: 1
+idouble: 2
ifloat: 1
+Function: "y1":
+double: 3
+float: 2
+idouble: 3
+ifloat: 2
+
+Function: "yn":
+double: 3
+float: 2
+idouble: 3
+ifloat: 2
+
# end of automatic generation