diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/frexp.3 | 20 | ||||
-rw-r--r-- | lib/libc/gen/ldexp.3 | 18 |
2 files changed, 25 insertions, 13 deletions
diff --git a/lib/libc/gen/frexp.3 b/lib/libc/gen/frexp.3 index a5e2edb..f3bf8da 100644 --- a/lib/libc/gen/frexp.3 +++ b/lib/libc/gen/frexp.3 @@ -36,11 +36,13 @@ .\" @(#)frexp.3 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd January 23, 2005 +.Dd March 4, 2005 .Dt FREXP 3 .Os .Sh NAME -.Nm frexp +.Nm frexp , +.Nm frexpf , +.Nm frexpl .Nd convert floating-point number to fractional and integral components .Sh LIBRARY .Lb libm @@ -48,13 +50,16 @@ .In math.h .Ft double .Fn frexp "double value" "int *exp" -.Ft double +.Ft float .Fn frexpf "float value" "int *exp" +.Ft long double +.Fn frexpl "long double value" "int *exp" .Sh DESCRIPTION The -.Fn frexp -and +.Fn frexp , .Fn frexpf +and +.Fn frexpl functions break a floating-point number into a normalized fraction and an integral power of 2. They store the integer in the @@ -85,8 +90,9 @@ is zero, both parts of the result are zero. .Xr modf 3 .Sh STANDARDS The -.Fn frexp +.Fn frexp , +.Fn frexpf , and -.Fn frexpf +.Fn frexpl functions conform to .St -isoC-99 . diff --git a/lib/libc/gen/ldexp.3 b/lib/libc/gen/ldexp.3 index 58ada2f..dcf34eb 100644 --- a/lib/libc/gen/ldexp.3 +++ b/lib/libc/gen/ldexp.3 @@ -36,11 +36,13 @@ .\" @(#)ldexp.3 8.2 (Berkeley) 4/19/94 .\" $FreeBSD$ .\" -.Dd January 23, 2005 +.Dd March 4, 2005 .Dt LDEXP 3 .Os .Sh NAME -.Nm ldexp +.Nm ldexp , +.Nm ldexpf , +.Nm ldexpl .Nd multiply floating-point number by integral power of 2 .Sh LIBRARY .Lb libm @@ -50,11 +52,14 @@ .Fn ldexp "double x" "int exp" .Ft float .Fn ldexpf "float x" "int exp" +.Ft long double +.Fn ldexpl "long double x" "int exp" .Sh DESCRIPTION The -.Fn ldexp +.Fn ldexp , +.Fn ldexpf , and -.Fn ldexpf +.Fn ldexpl functions multiply a floating-point number by an integral power of 2. .Sh RETURN VALUES @@ -68,8 +73,9 @@ times 2 raised to the power .Xr modf 3 .Sh STANDARDS The -.Fn ldexp +.Fn ldexp , +.Fn ldexpf , and -.Fn ldexpf +.Fn ldexpl functions conform to .St -isoC-99 . |