summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2007-12-14 07:53:09 +0000
committerdas <das@FreeBSD.org>2007-12-14 07:53:09 +0000
commita5d6580347d2eafea2aaf64a6ea2b4502e88afc1 (patch)
treedaa70c2829c4d125755d782ffb3f197d44fa86c3 /lib
parent5340a5f502397bf761127ef489a05170d31910f6 (diff)
downloadFreeBSD-src-a5d6580347d2eafea2aaf64a6ea2b4502e88afc1.zip
FreeBSD-src-a5d6580347d2eafea2aaf64a6ea2b4502e88afc1.tar.gz
Update the standards section, and make a minor clarification about the
return value of sqrt.
Diffstat (limited to 'lib')
-rw-r--r--lib/msun/man/sqrt.315
1 files changed, 10 insertions, 5 deletions
diff --git a/lib/msun/man/sqrt.3 b/lib/msun/man/sqrt.3
index 0f67d60..6d003a8 100644
--- a/lib/msun/man/sqrt.3
+++ b/lib/msun/man/sqrt.3
@@ -28,7 +28,7 @@
.\" from: @(#)sqrt.3 6.4 (Berkeley) 5/6/91
.\" $FreeBSD$
.\"
-.Dd May 6, 1991
+.Dd December 14, 2007
.Dt SQRT 3
.Os
.Sh NAME
@@ -80,15 +80,20 @@ An attempt to take the
.Fn sqrt
of negative
.Fa x
-raises an invalid exception and causes an \*(Na to be returned.
+raises an invalid exception and causes an \*(Na to be returned
+(except that the square root of -0 is valid and equal to -0.)
.Sh SEE ALSO
.Xr fenv 3 ,
.Xr math 3
.Sh STANDARDS
The
-.Fn sqrt
-function conforms to
-.St -isoC .
+.Fn cbrt ,
+.Fn cbrtf ,
+.Fn sqrt ,
+and
+.Fn sqrtf
+functions conform to
+.St -isoC-99 .
.Sh HISTORY
The
.Fn cbrt
OpenPOWER on IntegriCloud