summaryrefslogtreecommitdiff
path: root/include/math.h
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-04 22:52:26 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-04 22:52:26 +0000
commit005d20f04dff3665c9533417bdad06d7d208bf9a (patch)
treebfe0aa8c46149f67794cd45a4fdb259c57b521cf /include/math.h
parentd8059900ddf188607828b12a174b83decade3d61 (diff)
Sync up w/ glibc
Diffstat (limited to 'include/math.h')
-rw-r--r--include/math.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/math.h b/include/math.h
index 8a2e86c2f..8c11b5a76 100644
--- a/include/math.h
+++ b/include/math.h
@@ -32,8 +32,8 @@ __BEGIN_DECLS
On all IEEE754 machines, this is +Infinity. */
#include <bits/huge_val.h>
-/* Get machine-dependent NAN value (returned for some domain errors). */
#ifdef __USE_ISOC99
+/* Get machine-dependent NAN value (returned for some domain errors). */
# include <bits/nan.h>
#endif
/* Get general and ISO C99 specific information. */
@@ -115,7 +115,7 @@ extern int signgam;
/* ISO C99 defines some generic macros which work on any data type. */
-#if __USE_ISOC99
+#ifdef __USE_ISOC99
/* Get the architecture specific values describing the floating-point
evaluation. The following symbols will get defined:
@@ -323,7 +323,7 @@ extern int matherr (struct exception *__exc);
GNU extension. Provide enough digits for the 128-bit IEEE quad. */
#ifdef __USE_GNU
# define M_El 2.7182818284590452353602874713526625L /* e */
-# define M_LOG2El 1.4426950408889634073599246810018922L /* log_2 e */
+# define M_LOG2El 1.4426950408889634073599246810018921L /* log_2 e */
# define M_LOG10El 0.4342944819032518276511289189166051L /* log_10 e */
# define M_LN2l 0.6931471805599453094172321214581766L /* log_e 2 */
# define M_LN10l 2.3025850929940456840179914546843642L /* log_e 10 */
@@ -351,12 +351,12 @@ extern int matherr (struct exception *__exc);
#endif
-#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
- this late point and only if they are not defined yet. */
+#ifdef __USE_ISOC99
+/* ISO C99 defines some macros to compare number while taking care for
+ unordered numbers. Many FPUs provide special instructions to support
+ these operations and these tests are defined in <bits/mathinline.h>,
+ we define the generic macros at this late point and only if they are
+ not defined yet. */
/* Return nonzero value if X is greater than Y. */
# ifndef isgreater