*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> acos (3)              
Title
Content
Arch
Section
 

ACOS(3)

Contents


NAME    [Toc]    [Back]

     acos, acosf -- arc cosine functions

LIBRARY    [Toc]    [Back]

     Math Library (libm, -lm)

SYNOPSIS    [Toc]    [Back]

     #include <math.h>

     double
     acos(double x);

     float
     acosf(float x);

DESCRIPTION    [Toc]    [Back]

     The acos() and the acosf() functions compute the principal value of the
     arc cosine of x.  A domain error occurs for arguments not in the range
     [-1, +1].	For a discussion of error due to roundoff, see math(3).

RETURN VALUES    [Toc]    [Back]

     The acos() and the acosf() functions return the arc cosine in the range
     [0, pi] radians.  On the VAX and Tahoe, if:

	   |x| > 1,

     acos(x) sets the global variable errno to EDOM and a reserved operand
     fault is generated.

SEE ALSO    [Toc]    [Back]

      
      
     asin(3), atan(3), atan2(3), cos(3), cosh(3), math(3), sin(3), sinh(3),
     tan(3), tanh(3)

STANDARDS    [Toc]    [Back]

     The acos() function conforms to ISO/IEC 9899:1990 (``ISO C89'').


FreeBSD 5.2.1			  May 2, 1991			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
cos OpenBSD cosine functions
cos FreeBSD cosine functions
cosf OpenBSD cosine functions
cosf FreeBSD cosine functions
cosh OpenBSD hyperbolic cosine functions
cosh FreeBSD hyperbolic cosine functions
coshf FreeBSD hyperbolic cosine functions
coshf OpenBSD hyperbolic cosine functions
acosh FreeBSD inverse hyperbolic cosine functions
acoshf OpenBSD inverse hyperbolic cosine functions
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service