summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/ldexp.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/ldexp.3')
-rw-r--r--lib/libc/gen/ldexp.318
1 files changed, 12 insertions, 6 deletions
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 .
OpenPOWER on IntegriCloud