glibc/math
2013-02-19 21:20:44 +05:30
..
bits Use __extension__ with long long in installed headers. 2013-01-10 20:19:45 +00:00
machine
atest-exp2.c Fix some testsuite build warning fixes in libm 2013-02-19 21:20:44 +05:30
atest-exp.c Fix some testsuite build warning fixes in libm 2013-02-19 21:20:44 +05:30
atest-sincos.c Fix some testsuite build warning fixes in libm 2013-02-19 21:20:44 +05:30
basic-test.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
bug-nextafter.c math: support platforms with limited FP rounding or exception support 2012-05-17 08:50:41 -04:00
bug-nexttoward.c math: support platforms with limited FP rounding or exception support 2012-05-17 08:50:41 -04:00
bug-tgmath1.c
cabs.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
cabsf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
cabsl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
carg.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
cargf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
cargl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
cimag.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
cimagf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
cimagl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
complex.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
conj.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
conjf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
conjl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
creal.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
crealf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
creall.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
divtc3.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
e_acoshl.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
e_acosl.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
e_asinl.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
e_atan2l.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
e_atanhl.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
e_coshl.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
e_exp2l.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
e_exp10.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
e_exp10f.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
e_exp10l.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
e_expl.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
e_fmodl.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
e_gammal_r.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
e_hypotl.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
e_j0l.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
e_j1l.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
e_jnl.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
e_lgammal_r.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
e_log2l.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
e_log10l.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
e_logl.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
e_powl.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
e_rem_pio2l.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
e_scalb.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
e_scalbf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
e_scalbl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
e_sinhl.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
e_sqrtl.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
fclrexcpt.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
fedisblxcpt.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
feenablxcpt.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
fegetenv.c Remove bp-sym.h and BP_SYM uses from C code. 2013-02-14 13:12:02 +00:00
fegetexcept.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
fegetround.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
feholdexcpt.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
fenv.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
fesetenv.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
fesetround.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
feupdateenv.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
fgetexcptflg.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
fpu_control.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
fraiseexcpt.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
fsetexcptflg.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
ftestexcept.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
gen-libm-test.pl Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
ieee-math.c
k_casinh.c Fix casinh spurious underflows away from [-i,i] (bug 15062). 2013-01-31 22:55:29 +00:00
k_casinhf.c Fix casinh spurious underflows away from [-i,i] (bug 15062). 2013-01-31 22:55:29 +00:00
k_casinhl.c Fix casinh spurious underflows away from [-i,i] (bug 15062). 2013-01-31 22:55:29 +00:00
k_cosl.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
k_rem_pio2l.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
k_sincosl.c
k_sinl.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
k_tanl.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
libm-test.inc Fix casinh spurious underflows away from [-i,i] (bug 15062). 2013-01-31 22:55:29 +00:00
Makefile Remove bounded-pointers build system support. 2013-02-15 15:07:54 +00:00
math.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
multc3.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
README.libm-test
s_asinhl.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
s_atanl.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
s_cacos.c Fix cacos real-part inaccuracy for result real part near 0 (bug 15023). 2013-01-17 20:25:51 +00:00
s_cacosf.c Fix cacos real-part inaccuracy for result real part near 0 (bug 15023). 2013-01-17 20:25:51 +00:00
s_cacosh.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_cacoshf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_cacoshl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_cacosl.c Fix cacos real-part inaccuracy for result real part near 0 (bug 15023). 2013-01-17 20:25:51 +00:00
s_casin.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_casinf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_casinh.c Fix cacos real-part inaccuracy for result real part near 0 (bug 15023). 2013-01-17 20:25:51 +00:00
s_casinhf.c Fix cacos real-part inaccuracy for result real part near 0 (bug 15023). 2013-01-17 20:25:51 +00:00
s_casinhl.c Fix cacos real-part inaccuracy for result real part near 0 (bug 15023). 2013-01-17 20:25:51 +00:00
s_casinl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_catan.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_catanf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_catanh.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_catanhf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_catanhl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_catanl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_cbrtl.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
s_ccos.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_ccosf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_ccosh.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_ccoshf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_ccoshl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_ccosl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_cexp.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_cexpf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_cexpl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_clog10.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_clog10f.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_clog10l.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_clog.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_clogf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_clogl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_cpow.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_cpowf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_cpowl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_cproj.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_cprojf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_cprojl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_csin.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_csinf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_csinh.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_csinhf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_csinhl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_csinl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_csqrt.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_csqrtf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_csqrtl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_ctan.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_ctanf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_ctanh.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_ctanhf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_ctanhl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_ctanl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_erfl.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
s_expm1l.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
s_fdim.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_fdimf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_fdiml.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_fma.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_fmaf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_fmal.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_fmax.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_fmaxf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_fmaxl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_fmin.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_fminf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_fminl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_ldexp.c Remove __STDC__ conditionals from libm. 2012-01-27 17:29:45 +00:00
s_ldexpf.c Remove __STDC__ conditionals from libm. 2012-01-27 17:29:45 +00:00
s_ldexpl.c Remove __STDC__ conditionals from libm. 2012-01-27 17:29:45 +00:00
s_log1pl.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
s_nan.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_nanf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_nanl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
s_nextafter.c Remove __STDC__ conditionals from libm. 2012-01-27 17:29:45 +00:00
s_nexttowardf.c Fix nexttoward bugs (bugs 2550, 2570). 2012-05-01 15:37:43 +00:00
s_nexttowardl.c
s_significand.c Remove __STDC__ conditionals from libm. 2012-01-27 17:29:45 +00:00
s_significandf.c Remove __STDC__ conditionals from libm. 2012-01-27 17:29:45 +00:00
s_significandl.c Remove __STDC__ conditionals from libm. 2012-01-27 17:29:45 +00:00
s_tanhl.c [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
setfpucw.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
t_sincosl.c
test-double.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
test-fenv.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
test-float.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
test-fpucw.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
test-idouble.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
test-ifloat.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
test-ildoubl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
test-ldouble.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
test-matherr.c
test-misc.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
test-powl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
test-tgmath2.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
test-tgmath-int.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
test-tgmath-ret.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
test-tgmath.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
tgmath.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
tst-CMPLX2.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
tst-CMPLX.c Include <stdio.h> in math/tst-CMPLX.c. 2012-02-03 00:13:15 +00:00
tst-definitions.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
Versions Optimize exp 2011-10-15 20:22:59 -04:00
w_acos.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_acosf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_acosh.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_acoshf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_acoshl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_acosl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_asin.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_asinf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_asinl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_atan2.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_atan2f.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_atan2l.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_atanh.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_atanhf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_atanhl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_cosh.c Optimize libm 2011-10-12 11:27:51 -04:00
w_coshf.c Optimize libm 2011-10-12 11:27:51 -04:00
w_coshl.c Avoid overflows from long double functions using __kernel_standard. 2012-03-28 09:32:12 +00:00
w_drem.c
w_dremf.c
w_dreml.c
w_exp2.c Fix missing exp2 overflow exception (bug 13871). 2012-03-21 12:17:26 +00:00
w_exp2f.c Fix missing exp2 overflow exception (bug 13871). 2012-03-21 12:17:26 +00:00
w_exp2l.c Avoid overflows from long double functions using __kernel_standard. 2012-03-28 09:32:12 +00:00
w_exp10.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_exp10f.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_exp10l.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_expl.c
w_fmod.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_fmodf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_fmodl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_hypot.c Optimize libm 2011-10-12 11:27:51 -04:00
w_hypotf.c Optimize libm 2011-10-12 11:27:51 -04:00
w_hypotl.c Avoid overflows from long double functions using __kernel_standard. 2012-03-28 09:32:12 +00:00
w_ilogb.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_ilogbf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_ilogbl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_j0.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_j0f.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_j0l.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_j1.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_j1f.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_j1l.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_jn.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_jnf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_jnl.c Avoid overflows from long double functions using __kernel_standard. 2012-03-28 09:32:12 +00:00
w_lgamma_r.c Optimize libm 2011-10-12 11:27:51 -04:00
w_lgamma.c Optimize libm 2011-10-12 11:27:51 -04:00
w_lgammaf_r.c Optimize libm 2011-10-12 11:27:51 -04:00
w_lgammaf.c Optimize libm 2011-10-12 11:27:51 -04:00
w_lgammal_r.c Optimize libm 2011-10-12 11:27:51 -04:00
w_lgammal.c Avoid overflows from long double functions using __kernel_standard. 2012-03-28 09:32:12 +00:00
w_log2.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_log2f.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_log2l.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_log10.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_log10f.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_log10l.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_log.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_logf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_logl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_pow.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_powf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_powl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_remainder.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_remainderf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_remainderl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_scalb.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_scalbf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_scalbl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_sinh.c Optimize libm 2011-10-12 11:27:51 -04:00
w_sinhf.c Optimize libm 2011-10-12 11:27:51 -04:00
w_sinhl.c Avoid overflows from long double functions using __kernel_standard. 2012-03-28 09:32:12 +00:00
w_sqrt.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_sqrtf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_sqrtl.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
w_tgamma.c Optimize libm 2011-10-12 11:27:51 -04:00
w_tgammaf.c Optimize libm 2011-10-12 11:27:51 -04:00
w_tgammal.c Avoid overflows from long double functions using __kernel_standard. 2012-03-28 09:32:12 +00:00

README for libm-test math test suite
====================================

The libm-test math test suite tests a number of function points of
math functions in the GNU C library.  The following sections contain a
brief overview.  Please note that the test drivers and the Perl script
"gen-libm-test.pl" have some options.  A full list of options is
available with --help (for the test drivers) and -h for
"gen-libm-test.pl".


What is tested?
===============
The tests just evaluate the functions at specified points and compare
the results with precomputed values and the requirements of the ISO
C99 standard.

Besides testing the special values mandated by IEEE 754 (infinities,
NaNs and minus zero), some more or less random values are tested.

Files that are part of libm-test
================================

The main file is "libm-test.inc".  It is platform and floating point
format independent.  The file must be preprocessed by the Perl script
"gen-libm-test.pl".  The results are "libm-test.c" and a file
"libm-test-ulps.h" with platform specific deltas.

The test drivers test-double.c, test-float.c, test-ldouble.c test the
normal double, float and long double implementation of libm.  The test
drivers with an i in it (test-idouble.c, test-ifloat.c,
test-ildoubl.c) test the corresponding inline functions (where
available - otherwise they also test the real functions in libm).

"gen-libm-test.pl" needs a platform specific files with ULPs (Units of
Last Precision).  The file is called "libm-test-ulps" and lives in
platform specific sysdep directory.

How can I generate "libm-test-ulps"?
====================================

The test drivers have an option "-u" to output an unsorted list of all
epsilons that the functions have.  The output can be read in directly
but it's better to pretty print it first.  "gen-libm-test.pl"  has an option
to generate a pretty-printed and sorted new ULPs file from the output
of the test drivers.

To generate a new "libm-test-ulps" file, first remove "ULPs" file in the
current directory, then you can execute for example:
test-double -u --ignore-max-ulp=yes
This generates a file "ULPs" with all double ULPs in it, ignoring any
previous calculated ULPs.
Now generate the ULPs for all other formats, the tests will be appending
the data to the "ULPs" file.  As final step run "gen-libm-test.pl" with the
file as input and ask to generate a pretty printed output in the file "NewUlps":
  gen-libm-test.pl -u ULPs -n

Now you can rename "NewUlps" to "libm-test-ulps" and move it into
sysdeps.

Contents of libm-test-ulps
==========================
Since libm-test-ulps can be generated automatically, just a few
notes.  The file contains lines for single tests, like:
Test "cos (pi/2) == 0":
float:  1

and lines for maximal errors of single functions, like:
Function "yn":
idouble:  6.0000

The keywords are float, ifloat, double, idouble, ldouble and ildouble
(the prefix i stands for inline).  You can also specify known
failures, e.g.:

Test "cos (pi/2) == 0":
float:  1
float: fail

Adding tests to libm-test.inc
=============================

The tests are evaluated by a set of special test macros.  The macros
start with "TEST_" followed by a specification the input values, an
underscore and a specification of the output values.  As an example,
the test macro for a function with input of type FLOAT (FLOAT is
either float, double, long double) and output of type FLOAT is
"TEST_f_f".  The macro's parameter are the name of the function, the
input parameter, output parameter and optionally one exception
parameter.

The accepted parameter types are:
- "f" for FLOAT
- "b" for boolean - just tests if the output parameter evaluates to 0
  or 1 (only for output).
- "c" for complex.  This parameter needs two values, first the real,
  then the imaginary part.
- "i" for int.
- "l" for long int.
- "L" for long long int.
- "F" for the address of a FLOAT (only as input parameter)
- "I" for the address of an int (only as input parameter)

Some functions need special handling.  For example gamma sets the
global variable signgam and frexp takes an argument to &int.  This
special treatment is coded in "gen-libm-test.pl" and used while
parsing "libm-test.inc".