Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cosf(3m) [hpux man page]

cos(3M) 																   cos(3M)

NAME
cos(), cosf(), cosl(), cosw(), cosq() - cosine functions SYNOPSIS
HP Integrity Server Only DESCRIPTION
returns the cosine of x (x specified in radians). On PA-RISC systems, may lose accuracy when x is far from zero. is a version of it takes a argument and returns a result. Integrity Server Only is a version of it takes a argument and returns a result. is an version of it takes an argument and returns an result. is equivalent to on HP-UX systems. USAGE
To use these functions compile either with the default option or with the and the options. To use (for Integrity servers) or compile also with the option. To use any of these functions, make sure your program includes and link in the math library by specifying on the compiler or linker command line. For more information, see the at the following site: PA-RISC Only Millicode versions of the and functions are available. Millicode versions of math library functions are usually faster than their counter- parts in the standard library. To use these versions, compile your program with the or the optimization option. For special cases, the millicode versions return the same values as their standard library counterparts (see the section). RETURN VALUE
returns 1. If x returns NaN and raises the invalid exception. If x is NaN, returns NaN. When it raises no other exception, whether raises the inexact exception is unspecified. ERRORS
No errors are defined. SEE ALSO
acos(3M), asin(3M), atan(3M), atan2(3M), ccos(3M), cosd(3M), sin(3M), sincos(3M), tan(3M), math(5). STANDARDS CONFORMANCE
: SVID3, XPG4.2, ANSI C, ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arithmetic'') : ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arithmetic'') cos(3M)

Check Out this Related Man Page

asin(3M)																  asin(3M)

NAME
asin(), asinf(), asinl(), asinw(), asinq() - arcsine functions SYNOPSIS
HP Integrity Server Only DESCRIPTION
returns the arcsine of x, is a version of it takes a argument and returns a result. Integrity Server Only is a version of it takes a argument and returns a result. is an version of it takes an argument and returns an result. is equivalent to on HP-UX systems. USAGE
To use these functions compile either with the default option or with the and the options. To use (for Integrity servers) or compile also with the option. To use any of these functions, make sure your program includes and link in the math library by specifying on the compiler or linker command line. For more information, see the at the following site: PA-RISC Only Millicode versions of the and functions are available. Millicode versions of math library functions are usually faster than their counter- parts in the standard library. To use these versions, compile your program with the or the optimization option. For special cases, the millicode versions return the values described in the section, but do not set RETURN VALUE
If the magnitude of x is greater than one, returns NaN and raises the invalid exception. If x is NaN, returns NaN. When it raises no other exception, whether raises the inexact exception is unspecified. ERRORS
If the magnitude of x is greater than one, sets to [EDOM]. Integrity Server HP-UX functions on Integrity server do not set by default. For setting, compile with the option. SEE ALSO
acos(3M), asind(3M), atan(3M), atan2(3M), casin(3M), cos(3M), sin(3M), tan(3M), math(5). STANDARDS CONFORMANCE
: SVID3, XPG4.2, ANSI C, ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arithmetic'') : ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arithmetic'') asin(3M)
Man Page