summaryrefslogtreecommitdiffstats
path: root/newlib/libm/common/s_isnand.c
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2016-04-04 15:49:31 -0500
committerYaakov Selkowitz <yselkowi@redhat.com>2016-04-05 08:49:44 -0500
commitcd84d1c2d06ad0a30f3aebb8ff86727df67ba0da (patch)
treeaa9a1f9d83b8963439df7a16d05c10b82dced7cf /newlib/libm/common/s_isnand.c
parent8d67708a08082df4b077ee35dcfd4947c0a5b1f3 (diff)
downloadcygnal-cd84d1c2d06ad0a30f3aebb8ff86727df67ba0da.tar.gz
cygnal-cd84d1c2d06ad0a30f3aebb8ff86727df67ba0da.tar.bz2
cygnal-cd84d1c2d06ad0a30f3aebb8ff86727df67ba0da.zip
math: update isinf/isnan function comments after move to math.h
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libm/common/s_isnand.c')
-rw-r--r--newlib/libm/common/s_isnand.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libm/common/s_isnand.c b/newlib/libm/common/s_isnand.c
index 75538d907..0ac8c5938 100644
--- a/newlib/libm/common/s_isnand.c
+++ b/newlib/libm/common/s_isnand.c
@@ -28,7 +28,7 @@ INDEX
finitef
ANSI_SYNOPSIS
- #include <ieeefp.h>
+ #include <math.h>
int isnan(double <[arg]>);
int isinf(double <[arg]>);
int finite(double <[arg]>);
@@ -37,7 +37,7 @@ ANSI_SYNOPSIS
int finitef(float <[arg]>);
TRAD_SYNOPSIS
- #include <ieeefp.h>
+ #include <math.h>
int isnan(<[arg]>)
double <[arg]>;
int isinf(<[arg]>)
@@ -77,8 +77,8 @@ DESCRIPTION
Note that by the C99 standard, <<isnan>> and <<isinf>> are macros
taking any type of floating-point and are declared in
- <<math.h>>. Newlib has chosen to declare these as macros in
- <<math.h>> and as functions in <<ieeefp.h>>.
+ <<math.h>>. Newlib has chosen to declare these both as functions
+ and as macros in <<math.h>>.
The <<isnanf>>, <<isinff>> and <<finitef>> functions perform the same
operations as their <<isnan>>, <<isinf>> and <<finite>>