diff options
| author | Chris Costello <chris@FreeBSD.org> | 2000-01-19 04:58:39 +0000 |
|---|---|---|
| committer | Chris Costello <chris@FreeBSD.org> | 2000-01-19 04:58:39 +0000 |
| commit | 665a0de1a9dc395cb06f0e711cf35d7b99c75b1a (patch) | |
| tree | 91d30ee1f73536c46a9e2dae80d06e5077bdd004 /lib | |
| parent | 1ead4519b629936c7bff39992dee51b3fe9ab52b (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc/gen/Makefile.inc | 2 | ||||
| -rw-r--r-- | lib/libc/gen/isinf.3 | 11 |
2 files changed, 9 insertions, 4 deletions
diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc index c0692937ee6a..2722265a5755 100644 --- a/lib/libc/gen/Makefile.inc +++ b/lib/libc/gen/Makefile.inc @@ -90,7 +90,7 @@ MLINKS+=getvfsent.3 endvfsent.3 getvfsent.3 getvfsbytype.3 \ getvfsent.3 setvfsent.3 getvfsent.3 vfsisloadable.3 \ getvfsent.3 vfsload.3 MLINKS+=glob.3 globfree.3 -MLINKS+=isinf.3 isnan.3 +MLINKS+=isinf.3 isnan.3 isinf.3 isnanf.3 MLINKS+=popen.3 pclose.3 MLINKS+=psignal.3 sys_siglist.3 psignal.3 sys_signame.3 MLINKS+=psignal.3 strsignal.3 psignal.3 sys_siglist.3 psignal.3 sys_signame.3 diff --git a/lib/libc/gen/isinf.3 b/lib/libc/gen/isinf.3 index 592bd044699d..a60bc4e87f7a 100644 --- a/lib/libc/gen/isinf.3 +++ b/lib/libc/gen/isinf.3 @@ -37,13 +37,16 @@ .Os .Sh NAME .Nm isinf , -.Nm isnan +.Nm isnan , +.Nm isnanf .Nd test for infinity or not-a-number .Sh SYNOPSIS .Ft int .Fn isinf double .Ft int .Fn isnan double +.Ft int +.Fn isnanf float .Sh DESCRIPTION The .Fn isinf @@ -54,8 +57,10 @@ otherwise 0. .Pp The .Fn isnan -function -returns 1 if the number is +and +.Fn isnanf +functions +return 1 if the double or float (respectively) is .Dq not-a-number , otherwise 0. .Sh SEE ALSO |
