aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/Makefile2
-rw-r--r--math/bits/mathcalls.h15
2 files changed, 10 insertions, 7 deletions
diff --git a/math/Makefile b/math/Makefile
index d7525d0..174170d 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -80,7 +80,7 @@ tests = test-float test-double $(test-longdouble-$(long-double-fcts)) \
test-ifloat test-idouble test-matherr test-fenv \
atest-exp atest-sincos atest-exp2 # test-reduce
# We do the `long double' tests only if this data type is available and
-# distrinct from `double'.
+# distinct from `double'.
test-longdouble-yes = test-ldouble test-ildoubl
CFLAGS-test-float.c = -fno-inline -ffloat-store
diff --git a/math/bits/mathcalls.h b/math/bits/mathcalls.h
index dacc264..3073f25 100644
--- a/math/bits/mathcalls.h
+++ b/math/bits/mathcalls.h
@@ -38,7 +38,10 @@
This is just like __MATHCALL but for a function returning `TYPE'
instead of `_Mdouble_'. In all of these cases, there is still
- both a `NAME' and a `NAMEf' that takes `float' arguments. */
+ both a `NAME' and a `NAMEf' that takes `float' arguments.
+
+ Note that there must be no whitespace before the argument passed for
+ NAME, to make token pasting work with -traditional. */
#ifndef _MATH_H
#error "Never include <bits/mathcalls.h> directly; include <math.h> instead."
@@ -65,7 +68,7 @@ __MATHCALL (tan,, (_Mdouble_ __x));
#ifdef __USE_GNU
/* Cosine and sine of X. */
-__MATHDECL (void, sincos,,
+__MATHDECL (void,sincos,,
(_Mdouble_ __x, _Mdouble_ *__sinx, _Mdouble_ *__cosx));
#endif
@@ -275,13 +278,13 @@ __MATHCALL (remquo,, (_Mdouble_ __x, _Mdouble_ __y, int *__quo));
/* Round X to nearest integral value according to current rounding
direction. */
-__MATHDECL (long int, lrint,, (_Mdouble_ __x));
-__MATHDECL (long long int, llrint,, (_Mdouble_ __x));
+__MATHDECL (long int,lrint,, (_Mdouble_ __x));
+__MATHDECL (long long int,llrint,, (_Mdouble_ __x));
/* Round X to nearest integral value, rounding halfway cases away from
zero. */
-__MATHDECL (long int, lround,, (_Mdouble_ __x));
-__MATHDECL (long long int, llround,, (_Mdouble_ __x));
+__MATHDECL (long int,lround,, (_Mdouble_ __x));
+__MATHDECL (long long int,llround,, (_Mdouble_ __x));
/* Return positive difference between X and Y. */