testing double (without inline functions) Failure: acos (inf) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: acos (-inf) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: acos (1.1) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: acos (-1.1) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: asin (inf) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: asin (-inf) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: asin (1.1) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: asin (-1.1) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: cos (inf) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: cos (-inf) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: sin (inf) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: sin (-inf) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: Test: sin (pi/6) == 0.5 Result: is: 5.00000000000000111022e-01 0x1.00000000000010000000p-1 should be: 5.00000000000000000000e-01 0x1.00000000000000000000p-1 difference: 1.11022302462515654042e-16 0x1.00000000000000000000p-53 ulp : 1.0000 max.ulp : 0.0000 Failure: Test: sin (-pi/6) == -0.5 Result: is: -5.00000000000000111022e-01 -0x1.00000000000010000000p-1 should be: -5.00000000000000000000e-01 -0x1.00000000000000000000p-1 difference: 1.11022302462515654042e-16 0x1.00000000000000000000p-53 ulp : 1.0000 max.ulp : 0.0000 Maximal error of `sin' is : 1.0000 ulp accepted: 0.0000 ulp Failure: tan (inf) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: tan (-inf) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: acosh (-inf) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: acosh (-1.1) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: atanh (1) == inf plus division by zero exception: Exception "Divide by zero" not set Failure: atanh (-1) == -inf plus division by zero exception: Exception "Divide by zero" not set Failure: atanh (1.1) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: atanh (-1.1) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: Test: sinh (0.7) == 0.75858370183953350346 Result: is: 7.58583701839533386391e-01 0x1.8465153d5bdbc0000000p-1 should be: 7.58583701839533497413e-01 0x1.8465153d5bdbd0000000p-1 difference: 1.11022302462515654042e-16 0x1.00000000000000000000p-53 ulp : 1.0000 max.ulp : 0.0000 Maximal error of `sinh' is : 1.0000 ulp accepted: 0.0000 ulp Failure: Test: tanh (0.7) == 0.60436777711716349631 Result: is: 6.04367777117163607059e-01 0x1.356fb17af2e920000000p-1 should be: 6.04367777117163496037e-01 0x1.356fb17af2e910000000p-1 difference: 1.11022302462515654042e-16 0x1.00000000000000000000p-53 ulp : 1.0000 max.ulp : 0.0000 Failure: Test: tanh (-0.7) == -0.60436777711716349631 Result: is: -6.04367777117163607059e-01 -0x1.356fb17af2e920000000p-1 should be: -6.04367777117163496037e-01 -0x1.356fb17af2e910000000p-1 difference: 1.11022302462515654042e-16 0x1.00000000000000000000p-53 ulp : 1.0000 max.ulp : 0.0000 Maximal error of `tanh' is : 1.0000 ulp accepted: 0.0000 ulp Failure: log (0) == -inf plus division by zero exception: Exception "Divide by zero" not set Failure: log (-0) == -inf plus division by zero exception: Exception "Divide by zero" not set Failure: log (-1) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: log10 (0) == -inf plus division by zero exception: Exception "Divide by zero" not set Failure: log10 (-0) == -inf plus division by zero exception: Exception "Divide by zero" not set Failure: log10 (-1) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: log1p (-1) == -inf plus division by zero exception: Exception "Divide by zero" not set Failure: log1p (-2) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: log2 (0) == -inf plus division by zero exception: Exception "Divide by zero" not set Failure: log2 (-0) == -inf plus division by zero exception: Exception "Divide by zero" not set Failure: log2 (-1) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: logb (0) == -inf plus division by zero exception: Exception "Divide by zero" not set Failure: logb (-0) == -inf plus division by zero exception: Exception "Divide by zero" not set Failure: Test: ilogb (0.0) == FP_ILOGB0 plus exceptions allowed Result: is: -2147483647 should be: -2147483648 Failure: Test: ilogb (NaN) == FP_ILOGBNAN plus exceptions allowed Result: is: 2147483647 should be: -2147483648 Failure: scalb (2.0, 0.5) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: Test: scalb (2.0, 0.5) == NaN plus invalid exception Result: is: 2.00000000000000000000e+00 0x1.00000000000000000000p+1 should be: nan nan Failure: scalb (3.0, -2.5) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: Test: scalb (3.0, -2.5) == NaN plus invalid exception Result: is: 7.50000000000000000000e-01 0x1.80000000000000000000p-1 should be: nan nan Failure: Test: scalb (0, NaN) == NaN Result: is: 0.00000000000000000000e+00 0x0.00000000000000000000p+0 should be: nan nan Failure: Test: scalb (1, NaN) == NaN Result: is: 0.00000000000000000000e+00 0x0.00000000000000000000p+0 should be: nan nan Failure: scalb (0, inf) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: Test: scalb (0, inf) == NaN plus invalid exception Result: is: 0.00000000000000000000e+00 0x0.00000000000000000000p+0 should be: nan nan Failure: scalb (-0, inf) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: Test: scalb (-0, inf) == NaN plus invalid exception Result: is: -0.00000000000000000000e+00 -0x0.00000000000000000000p+0 should be: nan nan Failure: scalb (inf, -inf) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: Test: scalb (inf, -inf) == NaN plus invalid exception Result: is: inf inf should be: nan nan Failure: scalb (-inf, -inf) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: Test: scalb (-inf, -inf) == NaN plus invalid exception Result: is: -inf -inf should be: nan nan Failure: Test: scalb (1, NaN) == NaN Result: is: 0.00000000000000000000e+00 0x0.00000000000000000000p+0 should be: nan nan Failure: Test: scalb (0, NaN) == NaN Result: is: 0.00000000000000000000e+00 0x0.00000000000000000000p+0 should be: nan nan Failure: Test: scalb (inf, NaN) == NaN Result: is: inf inf should be: nan nan Failure: pow (-0.1, 1.1) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: pow (-0.1, -1.1) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: pow (-10.1, 1.1) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: pow (-10.1, -1.1) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: pow (0, -1) == inf plus division by zero exception: Exception "Divide by zero" not set Failure: pow (0, -11) == inf plus division by zero exception: Exception "Divide by zero" not set Failure: pow (-0, -1) == -inf plus division by zero exception: Exception "Divide by zero" not set Failure: pow (-0, -11) == -inf plus division by zero exception: Exception "Divide by zero" not set Failure: pow (0, -2) == inf plus division by zero exception: Exception "Divide by zero" not set Failure: pow (0, -11.1) == inf plus division by zero exception: Exception "Divide by zero" not set Failure: pow (-0, -2) == inf plus division by zero exception: Exception "Divide by zero" not set Failure: pow (-0, -11.1) == inf plus division by zero exception: Exception "Divide by zero" not set Failure: sqrt (-1) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: sqrt (-inf) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: Test: erfc (2.0) == 0.0046777349810472658379 Result: is: 4.67773498104726449115e-03 0x1.328f5ec350e650000000p-8 should be: 4.67773498104726622587e-03 0x1.328f5ec350e670000000p-8 difference: 1.73472347597680709441e-18 0x1.00000000000000000000p-59 ulp : 2.0000 max.ulp : 1.0000 Failure: Test: erfc (9) == 0.41370317465138102381e-36 Result: is: 4.13703174651381094657e-37 0x1.198d422be3f8d0000000p-121 should be: 4.13703174651381011133e-37 0x1.198d422be3f8c0000000p-121 difference: 8.35238971903811139419e-53 0x1.00000000000000000000p-173 ulp : 1.0000 max.ulp : 0.0000 Failure: gamma (0) == inf plus division by zero exception: Exception "Divide by zero" not set Failure: gamma (-3) == inf plus division by zero exception: Exception "Divide by zero" not set Failure: Test: gamma (3) == M_LN2l Result: is: 6.93147180559945397249e-01 0x1.62e42fefa39f00000000p-1 should be: 6.93147180559945286227e-01 0x1.62e42fefa39ef0000000p-1 difference: 1.11022302462515654042e-16 0x1.00000000000000000000p-53 ulp : 1.0000 max.ulp : 0.0000 Failure: Test: gamma (0.5) == log(sqrt(pi)) Result: is: 5.72364942924699970916e-01 0x1.250d048e7a1bc0000000p-1 should be: 5.72364942924700081939e-01 0x1.250d048e7a1bd0000000p-1 difference: 1.11022302462515654042e-16 0x1.00000000000000000000p-53 ulp : 1.0000 max.ulp : 0.0000 Failure: lgamma (0) == inf plus division by zero exception: Exception "Divide by zero" not set Failure: lgamma (-3) == inf plus division by zero exception: Exception "Divide by zero" not set Failure: Test: lgamma (3) == M_LN2l Result: is: 6.93147180559945397249e-01 0x1.62e42fefa39f00000000p-1 should be: 6.93147180559945286227e-01 0x1.62e42fefa39ef0000000p-1 difference: 1.11022302462515654042e-16 0x1.00000000000000000000p-53 ulp : 1.0000 max.ulp : 0.0000 Failure: Test: lgamma (0.5) == log(sqrt(pi)) Result: is: 5.72364942924699970916e-01 0x1.250d048e7a1bc0000000p-1 should be: 5.72364942924700081939e-01 0x1.250d048e7a1bd0000000p-1 difference: 1.11022302462515654042e-16 0x1.00000000000000000000p-53 ulp : 1.0000 max.ulp : 0.0000 Failure: tgamma (0) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: Test: tgamma (0) == NaN plus invalid exception Result: is: inf inf should be: nan nan Failure: tgamma (-0) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: Test: tgamma (-0) == NaN plus invalid exception Result: is: -inf -inf should be: nan nan Failure: tgamma (-2) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: tgamma (-inf) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: fmod (inf, 3) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: fmod (-inf, 3) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: fmod (3, 0) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: fmod (3, -0) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: remainder (1, 0) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: remainder (1, -0) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: remainder (inf, 1) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: remainder (-inf, 1) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: remquo (1, 0, &x) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: remquo (1, -0, &x) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: remquo (inf, 1, &x) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: remquo (-inf, 1, &x) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: fma (inf, 0.0, 1.0) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: fma (-inf, 0.0, 1.0) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: fma (0.0, inf, 1.0) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: fma (0.0, -inf, 1.0) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: fma (inf, inf, -inf) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: fma (-inf, inf, inf) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: fma (inf, -inf, inf) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: fma (-inf, -inf, -inf) == NaN plus invalid exception: Exception "Invalid operation" not set Failure: Test: j1 (8.0) == 0.23463634685391462438 Result: is: 2.34636346853914601329e-01 0x1.e0890561861820000000p-3 should be: 2.34636346853914629085e-01 0x1.e0890561861830000000p-3 difference: 2.77555756156289135106e-17 0x1.00000000000000000000p-55 ulp : 1.0000 max.ulp : 0.0000 Failure: Test: jn (1, 8.0) == 0.23463634685391462438 Result: is: 2.34636346853914601329e-01 0x1.e0890561861820000000p-3 should be: 2.34636346853914629085e-01 0x1.e0890561861830000000p-3 difference: 2.77555756156289135106e-17 0x1.00000000000000000000p-55 ulp : 1.0000 max.ulp : 0.0000 Failure: Test: jn (3, 10.0) == 0.058379379305186812343 Result: is: 5.83793793051867876409e-02 0x1.de3e6e9c0cc020000000p-5 should be: 5.83793793051868153965e-02 0x1.de3e6e9c0cc060000000p-5 difference: 2.77555756156289135106e-17 0x1.00000000000000000000p-55 ulp : 4.0000 max.ulp : 3.0000 Failure: Test: jn (10, 0.1) == 0.26905328954342155795e-19 Result: is: 2.69053289543421753151e-20 0x1.fc3a2ffb93d410000000p-66 should be: 2.69053289543421572595e-20 0x1.fc3a2ffb93d3b0000000p-66 difference: 1.80555932286303361224e-35 0x1.80000000000000000000p-116 ulp : 6.0000 max.ulp : 5.0000 Maximal error of `jn' is : 6.0000 ulp accepted: 5.0000 ulp Failure: Test: y0 (-1.0) == -inf Result: is: nan nan should be: -inf -inf Failure: Test: y1 (-1.0) == -inf Result: is: nan nan should be: -inf -inf Failure: Test: y1 (8.0) == -0.15806046173124749426 Result: is: -1.58060461731247520190e-01 -0x1.43b5340f693370000000p-3 should be: -1.58060461731247492434e-01 -0x1.43b5340f693360000000p-3 difference: 2.77555756156289135106e-17 0x1.00000000000000000000p-55 ulp : 1.0000 max.ulp : 0.0000 Failure: Test: yn (0, -1.0) == -inf Result: is: nan nan should be: -inf -inf Failure: Test: yn (1, -1.0) == -inf Result: is: nan nan should be: -inf -inf Failure: Test: yn (1, 8.0) == -0.15806046173124749426 Result: is: -1.58060461731247520190e-01 -0x1.43b5340f693370000000p-3 should be: -1.58060461731247492434e-01 -0x1.43b5340f693360000000p-3 difference: 2.77555756156289135106e-17 0x1.00000000000000000000p-55 ulp : 1.0000 max.ulp : 0.0000 Failure: Test: yn (10, 2.0) == -129184.54220803928264 Result: is: -1.29184542208039245452e+05 -0x1.f8a08ace256430000000p+16 should be: -1.29184542208039289108e+05 -0x1.f8a08ace256460000000p+16 difference: 4.36557456851005554199e-11 0x1.80000000000000000000p-35 ulp : 3.0000 max.ulp : 2.0000 Test suite completed: 1139 test cases plus 953 tests for exception flags executed. 122 errors occurred.