aboutsummaryrefslogtreecommitdiffstats
path: root/src/floatfns.c
diff options
context:
space:
mode:
authorPaul Eggert2013-06-19 18:19:43 -0700
committerPaul Eggert2013-06-19 18:19:43 -0700
commit33cbd259d658c2efd5c82a9ffbd88a0f8a19bc9e (patch)
treeaada866aaea3009ebd77973c21f4a42d633fd1da /src/floatfns.c
parenta5c581d827ff911a01226ca2ab99dc9eded29618 (diff)
downloademacs-33cbd259d658c2efd5c82a9ffbd88a0f8a19bc9e.tar.gz
emacs-33cbd259d658c2efd5c82a9ffbd88a0f8a19bc9e.zip
* floatfns.c: Add commentary re C99 and C11.
Diffstat (limited to 'src/floatfns.c')
-rw-r--r--src/floatfns.c11
1 files changed, 11 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>. */
26 the starred functions since we haven't found a use for them: 26 the starred functions since we haven't found a use for them:
27 acos, asin, atan, atan2, ceil, cos, *cosh, exp, fabs, floor, fmod, 27 acos, asin, atan, atan2, ceil, cos, *cosh, exp, fabs, floor, fmod,
28 frexp, ldexp, log, log10, *modf, pow, sin, *sinh, sqrt, tan, *tanh. 28 frexp, ldexp, log, log10, *modf, pow, sin, *sinh, sqrt, tan, *tanh.
29
30 C99 and C11 require the following math.h functions in addition to
31 the C89 functions. Of these, Emacs currently exports only the
32 starred ones to Lisp, since we haven't found a use for the others:
33 acosh, atanh, cbrt, *copysign, erf, erfc, exp2, expm1, fdim, fma,
34 fmax, fmin, fpclassify, hypot, ilogb, isfinite, isgreater,
35 isgreaterequal, isinf, isless, islessequal, islessgreater, *isnan,
36 isnormal, isunordered, lgamma, log1p, log2, *logb (approximately),
37 lrint/llrint, lround/llround, nan, nearbyint, nextafter,
38 nexttoward, remainder, remquo, *rint, round, scalbln, scalbn,
39 signbit, tgamma, trunc.
29 */ 40 */
30 41
31#include <config.h> 42#include <config.h>