diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-01-27 07:28:24 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-01-27 07:28:24 +0000 |
commit | 29c87571325c9591fb60142b4d5e47130c3cdfb0 (patch) | |
tree | b6486303e4b0662b37fc09f5c450cd81d69091c3 /testsuites | |
parent | 2011-01-27 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-29c87571325c9591fb60142b4d5e47130c3cdfb0.tar.bz2 |
2011-01-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* math/math.scn: New.
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/libtests/ChangeLog | 4 | ||||
-rw-r--r-- | testsuites/libtests/math/math.scn | 245 |
2 files changed, 249 insertions, 0 deletions
diff --git a/testsuites/libtests/ChangeLog b/testsuites/libtests/ChangeLog index 8d5d36f8f3..1f24f55d00 100644 --- a/testsuites/libtests/ChangeLog +++ b/testsuites/libtests/ChangeLog @@ -1,3 +1,7 @@ +2011-01-27 Ralf Corsépius <ralf.corsepius@rtems.org> + + * math/math.scn: New. + 2011-01-14 Ralf Corsépius <ralf.corsepius@rtems.org> * math/domath.c, math/domathf.c, math/domath.in, diff --git a/testsuites/libtests/math/math.scn b/testsuites/libtests/math/math.scn new file mode 100644 index 0000000000..71fd807783 --- /dev/null +++ b/testsuites/libtests/math/math.scn @@ -0,0 +1,245 @@ +*** FLOAT MATH TEST *** +acos : 1.570796 +acosh : -nan +asin : 1.570796 +asinh : 0.881374 +atan : 0.665774 +atan2 : 0.785398 +atanh : inf +cbrt : 3.000000 +ceil : 4.000000 +copysign : -3.500000 +cos : 0.000000 +cosh : 2.509178 +erf : 1.000000 +erfc : 0.000000 +exp : 1.521962 +exp2 : 1.337928 +expm1 : 0.000420 +fabs : 1.123000 +fdim : 0.000000 +floor : 0.000000 +floor : -1.000000 +fma : 7.630000 +fmax : 0.420000 +fmin : -0.420000 +fmod : 0.000000 +fpclassify : 4 +frexp : 0.656250 +hypot : 59.396970 +ilogb : 5 +isfinite : 1 +isgreater : 0 +isgreaterequal : 0 +isinf : 0 +isless : 1 +islessequal : 1 +islessgreater : 1 +isnan : 0 +isnormal : 1 +isunordered : 1 +j0 : 0.671133 +j1 : 0.498289 +jn : 0.159349 +ldexp : 9.600000 +lgamma : 114.034212 +llrint : 0.000000 +llrint : 0.000000 +lround : -1.000000 +lround : 1.000000 +log : 3.737670 +log10 : 1.623249 +log1p : 3.761200 +log2 : 5.392317 +logb : 5.000000 +lrint : 0.000000 +lrint : 0.000000 +lround : -1.000000 +lround : 1.000000 +lmodf : 0.000000 +nan : nan +nearbyint : 2.000000 +nextafter : 1.500000 +pow : 9.060100 +remainder : -0.990000 +remquo : -1.000000 +rint : 0.000000 +rint : -0.000000 +round : 1.000000 +round : -1.000000 +scalbln : 9.600000 +scalbn : 9.600000 +signbit : 0 +sin : 0.707107 +sinh : 0.868671 +sqrt : 3.000000 +tan : 1.000000 +tanh : 0.655794 +tgamma : 1.046486 +trunc : 3.000000 +y0 : 0.228084 +y1 : -0.621136 +yn : -3.589900 +acosf : 1.570796 +acoshf : -nan +asinf : 1.570796 +asinhf : 0.881374 +atanf : 0.665774 +atan2f : 0.785398 +atanhf : inf +cbrtf : 3.000000 +ceilf : 4.000000 +copysignf : -3.500000 +cosf : -0.000000 +coshf : 2.509179 +erff : 1.000000 +erfcf : 0.000000 +expf : 1.521962 +exp2f : 1.337928 +expm1f : 0.000420 +fabsf : 1.123000 +fdimf : 0.000000 +floorf : 0.000000 +floorf : -1.000000 +fmaf : 7.630000 +fmaxf : 0.420000 +fminf : -0.420000 +fmodf : 0.000000 +fpclassify : 4 +frexpf : 0.656250 +hypotf : 59.396969 +ilogbf : 5 +isfinite : 1 +isgreater : 0 +isgreaterequal : 0 +isinf : 0 +isless : 1 +islessequal : 1 +islessgreater : 1 +isnan : 0 +isnormal : 1 +isunordered : 1 +j0f : 0.671133 +j1f : 0.498289 +jnf : 0.159349 +ldexpf : 9.600000 +lgammaf : 114.034218 +llrintf : 0.000000 +llrintf : 0.000000 +lroundf : -1.000000 +lroundf : 1.000000 +logf : 3.737670 +log10f : 1.623249 +log1pf : 3.761200 +log2f : 5.392317 +logbf : 5.000000 +lrintf : 0.000000 +lrintf : 0.000000 +lroundf : -1.000000 +lroundf : 1.000000 +lmodff : 0.000000 +nanf : nan +nearbyintf : 2.000000 +nextafterf : 1.500000 +powf : 9.060100 +remainderf : -0.990000 +remquof : -1.000000 +rintf : 0.000000 +rintf : -0.000000 +roundf : 1.000000 +roundf : -1.000000 +scalblnf : 9.600000 +scalbnf : 9.600000 +signbit : 0 +sinf : 0.707107 +sinhf : 0.868671 +sqrtf : 3.000000 +tanf : 1.000000 +tanhf : 0.655794 +tgammaf : 1.046486 +truncf : 3.000000 +y0f : 0.228084 +y1f : -0.621136 +ynf : -3.589899 +acosl : 1.570796 +acoshl : -nan +asinl : 1.570796 +asinhl : 0.881374 +atanl : 0.665774 +atan2l : 0.785398 +atanhl : inf +cbrtl : 3.000000 +ceill : 4.000000 +copysignl : -3.500000 +cosl : 0.000000 +coshl : 2.509178 +erfl : 1.000000 +erfcl : 0.000000 +expl : 1.521962 +exp2l : 1.337928 +expm1l : 0.000420 +fabsl : 1.123000 +fdiml : 0.000000 +floorl : 0.000000 +floorl : -1.000000 +fmal : 7.630000 +fmaxl : 0.420000 +fminl : -0.420000 +fmodl : 0.000000 +fpclassify : 4 +frexpl : 0.656250 +hypotl : 59.396970 +ilogbl : 5 +isfinite : 1 +isgreater : 0 +isgreaterequal : 0 +isinf : 0 +isless : 1 +islessequal : 1 +islessgreater : 1 +isnan : 0 +isnormal : 1 +isunordered : 1 +j0l : 0.671133 +j1l : 0.498289 +jnl : 0.159349 +ldexpl : 9.600000 +lgammal : 114.034212 +llrintl : 0.000000 +llrintl : 0.000000 +lroundl : -1.000000 +lroundl : 1.000000 +logl : 3.737670 +log10l : 1.623249 +log1pl : 3.761200 +log2l : 5.392317 +logbl : 5.000000 +lrintl : 0.000000 +lrintl : 0.000000 +lroundl : -1.000000 +lroundl : 1.000000 +lmodfl : 0.000000 +nanl : nan +nearbyintl : 2.000000 +nextafterl : 1.500000 +powl : 9.060100 +remainderl : -0.990000 +remquol : -1.000000 +rintl : 0.000000 +rintl : -0.000000 +roundl : 1.000000 +roundl : -1.000000 +scalblnl : 9.600000 +scalbnl : 9.600000 +signbit : 0 +sinl : 0.707107 +sinhl : 0.868671 +sqrtl : 3.000000 +tanl : 1.000000 +tanhl : 0.655794 +tgammal : 1.046486 +truncl : 3.000000 +y0l : 0.228084 +y1l : -0.621136 +ynl : -3.589900 +*** END OF FLOAT MATH TEST *** |