I get the following failure (and more related ones, see attached log)
when compiling gsl on OSX Yosemite with FSF GCC 4.9.1:

FAIL: gsl_sf_mathieu_se(1, 5.0, M_PI_2, &r) [2626]
  expected: 1.3374338870223450e+00
  obtained: 1.0000000000000000e+00 +/- 4.4408920985006262e-16 (rel=4.44089e-16)
  fracdiff: 1.4436082615889587e-01
 tolerance: 9.9999999999999995e-07
  value/expected not consistent within reported error
  value not within tolerance of expected value
  1.000000000000000000e+00  4.440892098500626162e-16


It works with Apple clang. I tried to make a non-optimized build
("export CFLAGS=-O0") to debug this but gsl is overriding the
optimization flags.
=======================================
   gsl 1.16: specfunc/test-suite.log
=======================================

# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test
==========

FAIL: gsl_sf_mathieu_se(1, 5.0, M_PI_2, &r) [2626]
  expected: 1.3374338870223450e+00
  obtained: 1.0000000000000000e+00 +/- 4.4408920985006262e-16 (rel=4.44089e-16)
  fracdiff: 1.4436082615889587e-01
 tolerance: 9.9999999999999995e-07
  value/expected not consistent within reported error
  value not within tolerance of expected value
  1.000000000000000000e+00  4.440892098500626162e-16
FAIL: gsl_sf_mathieu_se(1, 10.0, M_PI_2, &r) [2627]
  expected: 1.4687556641029380e+00
  obtained: 1.0000000000000000e+00 +/- 4.4408920985006262e-16 (rel=4.44089e-16)
  fracdiff: 1.8987527640701857e-01
 tolerance: 9.9999999999999995e-07
  value/expected not consistent within reported error
  value not within tolerance of expected value
  1.000000000000000000e+00  4.440892098500626162e-16
FAIL: gsl_sf_mathieu_se(1, 15.0, M_PI_2, &r) [2628]
  expected: 1.5501150743575520e+00
  obtained: 1.0000000000000000e+00 +/- 4.4408920985006262e-16 (rel=4.44089e-16)
  fracdiff: 2.1572166679424926e-01
 tolerance: 9.9999999999999995e-07
  value/expected not consistent within reported error
  value not within tolerance of expected value
  1.000000000000000000e+00  4.440892098500626162e-16
FAIL: gsl_sf_mathieu_se(1, 20.0, M_PI_2, &r) [2629]
  expected: 1.6098915926037720e+00
  obtained: 1.0000000000000000e+00 +/- 4.4408920985006262e-16 (rel=4.44089e-16)
  fracdiff: 2.3368464588037180e-01
 tolerance: 9.9999999999999995e-07
  value/expected not consistent within reported error
  value not within tolerance of expected value
  1.000000000000000000e+00  4.440892098500626162e-16
FAIL: gsl_sf_mathieu_se(1, 25.0, M_PI_2, &r) [2630]
  expected: 1.6575103983745161e+00
  obtained: 1.0000000000000000e+00 +/- 4.4408920985006262e-16 (rel=4.44089e-16)
  fracdiff: 2.4741592686775063e-01
 tolerance: 9.9999999999999995e-07
  value/expected not consistent within reported error
  value not within tolerance of expected value
  1.000000000000000000e+00  4.440892098500626162e-16
FAIL: gsl_sf_mathieu_se(5, 5.0, M_PI_2, &r) [2650]
  expected: 9.0607793020235505e-01
  obtained: 6.9914432910676727e-01 +/- 4.4408920985006262e-16 (rel=6.3519e-16)
  fracdiff: 1.2891274083418872e-01
 tolerance: 9.9999999999999995e-07
  value/expected not consistent within reported error
  value not within tolerance of expected value
  6.991443291067672705e-01  4.440892098500626162e-16
FAIL: gsl_sf_mathieu_se(5, 10.0, M_PI_2, &r) [2651]
  expected: 8.4603843353551056e-01
  obtained: 4.2628086012155658e-01 +/- 4.4408920985006262e-16 (rel=1.04178e-15)
  fracdiff: 3.2991527795466474e-01
 tolerance: 9.9999999999999995e-07
  value/expected not consistent within reported error
  value not within tolerance of expected value
  4.262808601215565818e-01  4.440892098500626162e-16
FAIL: gsl_sf_mathieu_se(5, 15.0, M_PI_2, &r) [2652]
  expected: 8.3794934001248400e-01
  obtained: 1.8940173811206401e-01 +/- 4.4408920985006262e-16 (rel=2.34469e-15)
  fracdiff: 6.3128137567574061e-01
 tolerance: 9.9999999999999995e-07
  value/expected not consistent within reported error
  value not within tolerance of expected value
  1.894017381120640109e-01  4.440892098500626162e-16
FAIL: gsl_sf_mathieu_se(5, 20.0, M_PI_2, &r) [2653]
  expected: 8.6354312185336668e-01
  obtained: -2.1838922812449389e-02 +/- 4.4408920985006262e-16 (rel=2.03348e-14)
  fracdiff: 1.0518921560266274e+00
 tolerance: 9.9999999999999995e-07
  value/expected not consistent within reported error
  value not within tolerance of expected value
  -2.183892281244938921e-02  4.440892098500626162e-16
FAIL: gsl_sf_mathieu_se(5, 25.0, M_PI_2, &r) [2654]
  expected: 8.9926832451084127e-01
  obtained: -2.0747267690814780e-01 +/- 4.4408920985006262e-16 (rel=2.14047e-15)
  fracdiff: 1.5998091419832174e+00
 tolerance: 9.9999999999999995e-07
  value/expected not consistent within reported error
  value not within tolerance of expected value
  -2.074726769081478017e-01  4.440892098500626162e-16
FAIL: gsl_sf_mathieu_se(15, 5.0, M_PI_2, &r) [2674]
  expected: -9.8896070274063574e-01
  obtained: -9.1092847127545740e-01 +/- 4.4408920985006262e-16 (rel=4.87513e-16)
  fracdiff: 4.1071991215271476e-02
 tolerance: 9.9999999999999995e-07
  value/expected not consistent within reported error
  value not within tolerance of expected value
  -9.109284712754573965e-01  4.440892098500626162e-16
FAIL: gsl_sf_mathieu_se(15, 10.0, M_PI_2, &r) [2675]
  expected: -9.7814234718321569e-01
  obtained: -8.2188416452619306e-01 +/- 4.4408920985006262e-16 (rel=5.40331e-16)
  fracdiff: 8.6808822892631102e-02
 tolerance: 9.9999999999999995e-07
  value/expected not consistent within reported error
  value not within tolerance of expected value
  -8.218841645261930617e-01  4.440892098500626162e-16
FAIL: gsl_sf_mathieu_se(15, 15.0, M_PI_2, &r) [2676]
  expected: -9.6751370318545382e-01
  obtained: -7.3222224043414452e-01 +/- 4.4408920985006262e-16 (rel=6.06495e-16)
  fracdiff: 1.3842824447793617e-01
 tolerance: 9.9999999999999995e-07
  value/expected not consistent within reported error
  value not within tolerance of expected value
  -7.322222404341445223e-01  4.440892098500626162e-16
FAIL: gsl_sf_mathieu_se(15, 20.0, M_PI_2, &r) [2677]
  expected: -9.5704525406128171e-01
  obtained: -6.4129216564616554e-01 +/- 4.4408920985006262e-16 (rel=6.92491e-16)
  fracdiff: 1.9755095796537769e-01
 tolerance: 9.9999999999999995e-07
  value/expected not consistent within reported error
  value not within tolerance of expected value
  -6.412921656461655351e-01  4.440892098500626162e-16
FAIL: gsl_sf_mathieu_se(15, 25.0, M_PI_2, &r) [2678]
  expected: -9.4670869587808970e-01
  obtained: -5.4851504262983120e-01 +/- 4.4408920985006262e-16 (rel=8.09621e-16)
  fracdiff: 2.6631041428329300e-01
 tolerance: 9.9999999999999995e-07
  value/expected not consistent within reported error
  value not within tolerance of expected value
  -5.485150426298311954e-01  4.440892098500626162e-16
FAIL: gsl_sf_mathieu_se_array [2681]
FAIL: Mathieu Functions [2682]

Reply via email to