aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/bits/mathcalls.h24
-rw-r--r--math/libm-test.inc4
-rw-r--r--math/math.h22
-rw-r--r--math/test-fenv.c2
-rw-r--r--math/w_lgamma.c2
-rw-r--r--math/w_lgammaf.c2
-rw-r--r--math/w_lgammal.c2
7 files changed, 29 insertions, 29 deletions
diff --git a/math/bits/mathcalls.h b/math/bits/mathcalls.h
index 97bda45..93dda96 100644
--- a/math/bits/mathcalls.h
+++ b/math/bits/mathcalls.h
@@ -81,7 +81,7 @@ __MATHCALL (sinh,, (_Mdouble_ __x));
/* Hyperbolic tangent of X. */
__MATHCALL (tanh,, (_Mdouble_ __x));
-#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED || defined __USE_ISOC9X
+#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED || defined __USE_ISOC99
/* Hyperbolic arc cosine of X. */
__MATHCALL (acosh,, (_Mdouble_ __x));
/* Hyperbolic arc sine of X. */
@@ -117,7 +117,7 @@ __MATHCALL (log10,, (_Mdouble_ __x));
/* Break VALUE into integral and fractional parts. */
__MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr));
-#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED || defined __USE_ISOC9X
+#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED || defined __USE_ISOC99
/* Return exp(X) - 1. */
__MATHCALL (expm1,, (_Mdouble_ __x));
@@ -128,7 +128,7 @@ __MATHCALL (log1p,, (_Mdouble_ __x));
__MATHCALL (logb,, (_Mdouble_ __x));
#endif
-#ifdef __USE_ISOC9X
+#ifdef __USE_ISOC99
/* Compute base-2 exponential of X. */
__MATHCALL (exp2,, (_Mdouble_ __x));
@@ -145,12 +145,12 @@ __MATHCALL (pow,, (_Mdouble_ __x, _Mdouble_ __y));
/* Return the square root of X. */
__MATHCALL (sqrt,, (_Mdouble_ __x));
-#if defined __USE_MISC || defined __USE_XOPEN || defined __USE_ISOC9X
+#if defined __USE_MISC || defined __USE_XOPEN || defined __USE_ISOC99
/* Return `sqrt(X*X + Y*Y)'. */
__MATHCALL (hypot,, (_Mdouble_ __x, _Mdouble_ __y));
#endif
-#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED || defined __USE_ISOC9X
+#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED || defined __USE_ISOC99
/* Return the cube root of X. */
__MATHCALL (cbrt,, (_Mdouble_ __x));
#endif
@@ -202,12 +202,12 @@ __MATHCALL (drem,, (_Mdouble_ __x, _Mdouble_ __y));
__MATHCALL (significand,, (_Mdouble_ __x));
#endif /* Use misc. */
-#if defined __USE_MISC || defined __USE_ISOC9X
+#if defined __USE_MISC || defined __USE_ISOC99
/* Return X with its signed changed to Y's. */
__MATHCALLX (copysign,, (_Mdouble_ __x, _Mdouble_ __y), (__const__));
#endif
-#ifdef __USE_ISOC9X
+#ifdef __USE_ISOC99
/* Return representation of NaN for double type. */
__MATHCALLX (nan,, (__const char *__tagb), (__const__));
#endif
@@ -230,7 +230,7 @@ __MATHCALL (yn,, (int, _Mdouble_));
#endif
-#if defined __USE_MISC || defined __USE_XOPEN || defined __USE_ISOC9X
+#if defined __USE_MISC || defined __USE_XOPEN || defined __USE_ISOC99
/* Error and gamma functions. */
__MATHCALL (erf,, (_Mdouble_));
__MATHCALL (erfc,, (_Mdouble_));
@@ -251,14 +251,14 @@ __MATHCALL (lgamma,_r, (_Mdouble_, int *__signgamp));
#endif
-#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED || defined __USE_ISOC9X
+#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED || defined __USE_ISOC99
/* Return the integer nearest X in the direction of the
prevailing rounding mode. */
__MATHCALL (rint,, (_Mdouble_ __x));
/* Return X + epsilon if X < Y, X - epsilon if X > Y. */
__MATHCALLX (nextafter,, (_Mdouble_ __x, _Mdouble_ __y), (__const__));
-# ifdef __USE_ISOC9X
+# ifdef __USE_ISOC99
__MATHCALLX (nexttoward,, (_Mdouble_ __x, long double __y), (__const__));
# endif
@@ -277,7 +277,7 @@ __MATHCALL (scalbn,, (_Mdouble_ __x, int __n));
__MATHDECL (int,ilogb,, (_Mdouble_ __x));
#endif
-#ifdef __USE_ISOC9X
+#ifdef __USE_ISOC99
/* Return X times (2 to the Nth power). */
__MATHCALL (scalbln,, (_Mdouble_ __x, long int __n));
@@ -333,4 +333,4 @@ __MATHDECL_1 (int, __signbit,, (_Mdouble_ __value))
/* Multiply-add function computed as a ternary operation. */
__MATHCALL (fma,, (_Mdouble_ __x, _Mdouble_ __y, _Mdouble_ __z));
-#endif /* Use ISO C 9X. */
+#endif /* Use ISO C99. */
diff --git a/math/libm-test.inc b/math/libm-test.inc
index d2ceb2f..99e2b5a 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -77,7 +77,7 @@
testing. Handling of specific inputs (e.g. infinity, not-a-number)
is also tested. Correct handling of exceptions is checked
against. These implemented tests should check all cases that are
- specified in ISO C 9X.
+ specified in ISO C99.
Exception testing: At the moment only divide-by-zero and invalid
exceptions are tested. Overflow/underflow and inexact exceptions
@@ -3994,7 +3994,7 @@ main (int argc, char **argv)
check_ulp ();
#endif
- /* Keep the tests a wee bit ordered (according to ISO 9X). */
+ /* Keep the tests a wee bit ordered (according to ISO C99). */
/* Classification macros: */
fpclassify_test ();
isfinite_test ();
diff --git a/math/math.h b/math/math.h
index e76b36a..16dd0a5 100644
--- a/math/math.h
+++ b/math/math.h
@@ -33,10 +33,10 @@ __BEGIN_DECLS
#include <bits/huge_val.h>
/* Get machine-dependent NAN value (returned for some domain errors). */
-#ifdef __USE_ISOC9X
+#ifdef __USE_ISOC99
# include <bits/nan.h>
#endif
-/* Get general and ISO C 9X specific information. */
+/* Get general and ISO C99 specific information. */
#include <bits/mathdef.h>
@@ -64,7 +64,7 @@ __BEGIN_DECLS
#undef _Mdouble_
#undef __MATH_PRECNAME
-#if defined __USE_MISC || defined __USE_ISOC9X
+#if defined __USE_MISC || defined __USE_ISOC99
/* Include the file of declarations again, this time using `float'
@@ -102,20 +102,20 @@ __BEGIN_DECLS
# endif /* __STDC__ || __GNUC__ */
-#endif /* Use misc or ISO C 9X. */
+#endif /* Use misc or ISO C99. */
#undef __MATHDECL_1
#undef __MATHDECL
#undef __MATHCALL
-#if defined __USE_MISC || defined __USE_XOPEN || defined __USE_ISOC9X
+#if defined __USE_MISC || defined __USE_XOPEN || defined __USE_ISOC99
/* This variable is used by `gamma' and `lgamma'. */
extern int signgam;
#endif
-/* ISO C 9X defines some generic macros which work on any data type. */
-#if __USE_ISOC9X
+/* ISO C99 defines some generic macros which work on any data type. */
+#if __USE_ISOC99
/* Get the architecture specific values describing the floating-point
evaluation. The following symbols will get defined:
@@ -229,7 +229,7 @@ enum
? __isinf (x) : __isinfl (x))
# endif
-#endif /* Use ISO C 9X. */
+#endif /* Use ISO C99. */
#ifdef __USE_MISC
/* Support for various different standard error handling behaviors. */
@@ -239,7 +239,7 @@ typedef enum
_SVID_, /* According to System V, release 4. */
_XOPEN_, /* Nowadays also Unix98. */
_POSIX_,
- _ISOC_ /* Actually this is ISO C 9X. */
+ _ISOC_ /* Actually this is ISO C99. */
} _LIB_VERSION_TYPE;
/* This variable can be changed at run-time to any of the values above to
@@ -349,8 +349,8 @@ extern int matherr (struct exception *__exc);
#endif
-#if __USE_ISOC9X
-/* ISO C 9X defines some macros to compare number while taking care
+#if __USE_ISOC99
+/* ISO C99 defines some macros to compare number while taking care
for unordered numbers. Since many FPUs provide special
instructions to support these operations and these tests are
defined in <bits/mathinline.h>, we define the generic macros at
diff --git a/math/test-fenv.c b/math/test-fenv.c
index 3a5a7ed..3292f81 100644
--- a/math/test-fenv.c
+++ b/math/test-fenv.c
@@ -18,7 +18,7 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-/* Tests for ISO C 9X 7.6: Floating-point environment */
+/* Tests for ISO C99 7.6: Floating-point environment */
#ifndef _GNU_SOURCE
# define _GNU_SOURCE
diff --git a/math/w_lgamma.c b/math/w_lgamma.c
index 0cc62a1..4815db6 100644
--- a/math/w_lgamma.c
+++ b/math/w_lgamma.c
@@ -37,7 +37,7 @@ static char rcsid[] = "$NetBSD: w_lgamma.c,v 1.6 1995/05/10 20:49:24 jtc Exp $";
int local_signgam;
y = __ieee754_lgamma_r(x,&local_signgam);
if (_LIB_VERSION != _ISOC_)
- /* ISO C 9x does not define the global variable. */
+ /* ISO C99 does not define the global variable. */
signgam = local_signgam;
if(_LIB_VERSION == _IEEE_) return y;
if(!__finite(y)&&__finite(x)) {
diff --git a/math/w_lgammaf.c b/math/w_lgammaf.c
index 4c64aa4..a50525a 100644
--- a/math/w_lgammaf.c
+++ b/math/w_lgammaf.c
@@ -34,7 +34,7 @@ static char rcsid[] = "$NetBSD: w_lgammaf.c,v 1.3 1995/05/10 20:49:30 jtc Exp $"
int local_signgam;
y = __ieee754_lgammaf_r(x,&local_signgam);
if (_LIB_VERSION != _ISOC_)
- /* ISO C 9x does not define the global variable. */
+ /* ISO C99 does not define the global variable. */
signgam = local_signgam;
if(_LIB_VERSION == _IEEE_) return y;
if(!__finitef(y)&&__finitef(x)) {
diff --git a/math/w_lgammal.c b/math/w_lgammal.c
index 41104e4..328c94e 100644
--- a/math/w_lgammal.c
+++ b/math/w_lgammal.c
@@ -41,7 +41,7 @@ static char rcsid[] = "$NetBSD: $";
int local_signgam;
y = __ieee754_lgammal_r(x,&local_signgam);
if (_LIB_VERSION != _ISOC_)
- /* ISO C 9x does not define the global variable. */
+ /* ISO C99 does not define the global variable. */
signgam = local_signgam;
if(_LIB_VERSION == _IEEE_) return y;
if(!__finitel(y)&&__finitel(x)) {