From 33cbd259d658c2efd5c82a9ffbd88a0f8a19bc9e Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 19 Jun 2013 18:19:43 -0700 Subject: [PATCH] * floatfns.c: Add commentary re C99 and C11. --- src/floatfns.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/floatfns.c b/src/floatfns.c index d7514eca886..dd6d3dfe582 100644 --- a/src/floatfns.c +++ b/src/floatfns.c @@ -26,6 +26,17 @@ along with GNU Emacs. If not, see . */ the starred functions since we haven't found a use for them: acos, asin, atan, atan2, ceil, cos, *cosh, exp, fabs, floor, fmod, frexp, ldexp, log, log10, *modf, pow, sin, *sinh, sqrt, tan, *tanh. + + C99 and C11 require the following math.h functions in addition to + the C89 functions. Of these, Emacs currently exports only the + starred ones to Lisp, since we haven't found a use for the others: + acosh, atanh, cbrt, *copysign, erf, erfc, exp2, expm1, fdim, fma, + fmax, fmin, fpclassify, hypot, ilogb, isfinite, isgreater, + isgreaterequal, isinf, isless, islessequal, islessgreater, *isnan, + isnormal, isunordered, lgamma, log1p, log2, *logb (approximately), + lrint/llrint, lround/llround, nan, nearbyint, nextafter, + nexttoward, remainder, remquo, *rint, round, scalbln, scalbn, + signbit, tgamma, trunc. */ #include -- 2.39.2