aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen/frexp.3
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2005-03-07 05:00:54 +0000
committerDavid Schultz <das@FreeBSD.org>2005-03-07 05:00:54 +0000
commita8af59b5f73e925bbe581a6426435c21c9b7d75d (patch)
tree641a37fd9f4179dcc410df522a5c206ee157e26a /lib/libc/gen/frexp.3
parent388bf3b630addc15e6aa774d516241590a662bde (diff)
downloadsrc-a8af59b5f73e925bbe581a6426435c21c9b7d75d.tar.gz
src-a8af59b5f73e925bbe581a6426435c21c9b7d75d.zip
Notes
Diffstat (limited to 'lib/libc/gen/frexp.3')
-rw-r--r--lib/libc/gen/frexp.320
1 files changed, 13 insertions, 7 deletions
diff --git a/lib/libc/gen/frexp.3 b/lib/libc/gen/frexp.3
index a5e2edbedac7..f3bf8da15102 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 .