Update the standards section, and make a minor clarification about the

return value of sqrt.
This commit is contained in:
David Schultz 2007-12-14 07:53:09 +00:00
parent 093fcf1694
commit ce448a2e74
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=174586

View File

@ -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