diff options
author | David Schultz <das@FreeBSD.org> | 2007-12-17 01:04:43 +0000 |
---|---|---|
committer | David Schultz <das@FreeBSD.org> | 2007-12-17 01:04:43 +0000 |
commit | 3be0479b4cdb1a893b3b08a99c3af2f1d684790c (patch) | |
tree | f21382efc8d1450f59e0598769fa85e3a3698c86 /lib/msun/man | |
parent | 9cb41668818979000b16a20df454e6ca5b61e05c (diff) |
Document the fact that we have nan(3) now, and make some minor clarifications
in other places.
Notes
Notes:
svn path=/head/; revision=174694
Diffstat (limited to 'lib/msun/man')
-rw-r--r-- | lib/msun/man/math.3 | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/lib/msun/man/math.3 b/lib/msun/man/math.3 index b47d0a5666b3..f2a98d0bdca9 100644 --- a/lib/msun/man/math.3 +++ b/lib/msun/man/math.3 @@ -28,7 +28,7 @@ .\" from: @(#)math.3 6.10 (Berkeley) 5/6/91 .\" $FreeBSD$ .\" -.Dd November 6, 2005 +.Dd December 16, 2007 .Dt MATH 3 .Os .if n \{\ @@ -69,6 +69,11 @@ and .Ft "long double" .Fn acosl "long double x" , respectively. +The classification macros and silent order predicates are type generic and +should not be suffixed with +.Ql f +or +.Ql l . .de Cl .Bl -column "isgreaterequal" "bessel function of the second kind of the order 0" .Em "Name Description" @@ -80,7 +85,7 @@ fma fused multiply-add hypot Euclidean distance sqrt square root .El -.Ss Classification Functions +.Ss Classification Macros .Cl fpclassify classify a floating-point value isfinite determine whether a value is finite @@ -106,10 +111,10 @@ fmax maximum function fmin minimum function signbit extract sign bit .El -.\" .Ss Not a Number -.\" .Cl -.\" nan return quiet \*(Na) 0 -.\" .El +.Ss Not a Number Functions +.Cl +nan generate a quiet \*(Na +.El .Ss Residue and Rounding Functions .Cl ceil integer no less than @@ -199,7 +204,8 @@ For most of these functions, however, incorrect rounding occurs rarely, and then only in very-close-to-halfway cases. .Sh SEE ALSO .Xr fenv 3 , -.Xr ieee 3 +.Xr ieee 3 , +.Xr tgmath 3 .Sh HISTORY A math library with many of the present functions appeared in .At v7 . @@ -219,9 +225,7 @@ values, were written for or imported into subsequent versions of FreeBSD. .Sh BUGS The .Fn log2 -and -.Fn nan -functions are missing, and many functions are not available in their +function is missing, and many functions are not available in their .Vt "long double" variants. .Pp |