summaryrefslogtreecommitdiffstats
path: root/lib/msun
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2004-06-12 04:40:47 +0000
committerdas <das@FreeBSD.org>2004-06-12 04:40:47 +0000
commit699d33669cb28a3c652d00cf10c4f1224d08ace6 (patch)
treeffc33e31c3ce68a042c257dccbf9f52a877f519e /lib/msun
parent240b085b2fd8a7498c45b13d56d46924786738b0 (diff)
downloadFreeBSD-src-699d33669cb28a3c652d00cf10c4f1224d08ace6.zip
FreeBSD-src-699d33669cb28a3c652d00cf10c4f1224d08ace6.tar.gz
The references to scalbn and scalbnf should be scalb and scalbf.
(The former are actually useful, and ieee_test(3) only documents functions that aren't.) Add a sentence describing the domain of scalb() and scalbf().
Diffstat (limited to 'lib/msun')
-rw-r--r--lib/msun/man/ieee_test.37
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/msun/man/ieee_test.3 b/lib/msun/man/ieee_test.3
index b4f5ce6..986fd08 100644
--- a/lib/msun/man/ieee_test.3
+++ b/lib/msun/man/ieee_test.3
@@ -76,12 +76,15 @@ a signed integer converted to double\-precision floating\-point.
.Fn logb 0
= -\*(If with a division by zero exception.
.Pp
-.Fn scalbn x n
+.Fn scalb x n
and
-.Fn scalbnf x n
+.Fn scalbf x n
return
.Fa x Ns \(**(2** Ns Fa n )
computed by exponent manipulation.
+If
+.Fa n
+is not an integer, \*(Pm\*(If, or an \*(Na, the result is unspecified.
.Pp
.Fn significand x
and
OpenPOWER on IntegriCloud