diff options
author | das <das@FreeBSD.org> | 2008-07-31 22:41:26 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2008-07-31 22:41:26 +0000 |
commit | fea2240d10b31df0708048e117338954d65683f2 (patch) | |
tree | 9fb6bc383ad54766e5719d186bb7517c92a90c9f /lib/msun/man/acos.3 | |
parent | 9c7525b3ac9d147ed50fdd2bbd0728d63af7968a (diff) | |
download | FreeBSD-src-fea2240d10b31df0708048e117338954d65683f2.zip FreeBSD-src-fea2240d10b31df0708048e117338954d65683f2.tar.gz |
Add implementations of acosl(), asinl(), atanl(), atan2l(),
and cargl().
Reviewed by: bde
sparc64 testing resources from: remko
Diffstat (limited to 'lib/msun/man/acos.3')
-rw-r--r-- | lib/msun/man/acos.3 | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/lib/msun/man/acos.3 b/lib/msun/man/acos.3 index aa73699..b38a6e0 100644 --- a/lib/msun/man/acos.3 +++ b/lib/msun/man/acos.3 @@ -28,12 +28,13 @@ .\" from: @(#)acos.3 5.1 (Berkeley) 5/2/91 .\" $FreeBSD$ .\" -.Dd January 14, 2005 +.Dd July 31, 2008 .Dt ACOS 3 .Os .Sh NAME .Nm acos , -.Nm acosf +.Nm acosf , +.Nm acosl .Nd arc cosine functions .Sh LIBRARY .Lb libm @@ -43,23 +44,18 @@ .Fn acos "double x" .Ft float .Fn acosf "float x" +.Ft long double +.Fn acosl "long double x" .Sh DESCRIPTION The -.Fn acos -and the -.Fn acosf +.Fn acos , +.Fn acosf , +and +.Fn acosl functions compute the principal value of the arc cosine of .Fa x . -A domain error occurs for arguments not in the range -.Bq -1 , +1 . -For a discussion of error due to roundoff, see -.Xr math 3 . .Sh RETURN VALUES -The -.Fn acos -and the -.Fn acosf -functions return the arc cosine in the range +These functions return the arc cosine in the range .Bq 0 , \*(Pi radians. If: @@ -83,6 +79,9 @@ raises an invalid exception and returns an \*(Na. .Xr tanh 3 .Sh STANDARDS The -.Fn acos -function conforms to -.St -isoC . +.Fn acos , +.Fn acosf , +and +.Fn acosl +functions conform to +.St -isoC-99 . |