aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-10-05 17:06:23 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-10-05 17:06:23 +0000
commit28234b077ec6667b5dd0a6b60c6d8dbd9e28f6e1 (patch)
tree5c47e5075ea2fc8719295af00140e3555028d4f8
parent23c31b76958249a9af439bb515eed6586489b6bd (diff)
downloadglibc-28234b077ec6667b5dd0a6b60c6d8dbd9e28f6e1.tar
glibc-28234b077ec6667b5dd0a6b60c6d8dbd9e28f6e1.tar.gz
glibc-28234b077ec6667b5dd0a6b60c6d8dbd9e28f6e1.tar.bz2
glibc-28234b077ec6667b5dd0a6b60c6d8dbd9e28f6e1.zip
Improve libm-test.inc comment.
-rw-r--r--ChangeLog8
-rw-r--r--math/libm-test.inc23
2 files changed, 23 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 8da19b51e6..3d3fa6ddf1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2012-10-05 Joseph Myers <joseph@codesourcery.com>
+ * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
+ creal in comment listing functions tested. List finite, isinf,
+ isnan, isless, islessequal, isgreater, isgreaterequal,
+ islessgreater, isunordered, lgamma_r and pow10 as functions and
+ macros not tested. Mention which functions not tested are aliases
+ for other functions. Fix typo. Note that signs of NaNs are not
+ tested.
+
* scripts/config.guess: Update from config.git.
* scripts/config.sub: Likewise.
diff --git a/math/libm-test.inc b/math/libm-test.inc
index bed8fc6ecc..6cc0407d57 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -42,11 +42,10 @@
cbrt, ceil, copysign, cos, cosh, erf, erfc, exp, exp10, exp2, expm1,
fabs, fdim, floor, fma, fmax, fmin, fmod, fpclassify,
frexp, gamma, hypot,
- ilogb, isfinite, isinf, isnan, isnormal,
- isless, islessequal, isgreater, isgreaterequal, islessgreater, isunordered,
+ ilogb, isfinite, isnormal,
j0, j1, jn,
ldexp, lgamma, log, log10, log1p, log2, logb,
- modf, nearbyint, nextafter,
+ modf, nearbyint, nextafter, nexttoward,
pow, remainder, remquo, rint, lrint, llrint,
round, lround, llround,
scalb, scalbn, scalbln, signbit, sin, sincos, sinh, sqrt, tan, tanh, tgamma, trunc,
@@ -54,10 +53,17 @@
and for the following complex math functions:
cabs, cacos, cacosh, carg, casin, casinh, catan, catanh,
- ccos, ccosh, cexp, clog, cpow, cproj, csin, csinh, csqrt, ctan, ctanh.
+ ccos, ccosh, cexp, cimag, clog, clog10, conj, cpow, cproj, creal,
+ csin, csinh, csqrt, ctan, ctanh.
- At the moment the following functions aren't tested:
- drem, nan
+ At the moment the following functions and macros aren't tested:
+ drem (alias for remainder),
+ finite (functions equivalent to isfinite macro),
+ isinf, isnan,
+ isless, islessequal, isgreater, isgreaterequal, islessgreater, isunordered,
+ lgamma_r,
+ nan,
+ pow10 (alias for exp10).
Parameter handling is primitive in the moment:
--verbose=[0..3] for different levels of output:
@@ -83,8 +89,9 @@
aren't checked at the moment.
NaN values: There exist signalling and quiet NaNs. This implementation
- only uses quiet NaN as parameter but does not differenciate
- between the two kinds of NaNs as result.
+ only uses quiet NaN as parameter but does not differentiate
+ between the two kinds of NaNs as result. Where the sign of a NaN is
+ significant, this is not tested.
Inline functions: Inlining functions should give an improvement in
speed - but not in precission. The inlined functions return