hpux man page for cosw

Query: cosw

OS: hpux

Section: 3m

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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)
Related Man Pages
acos(3m) - hpux
asin(3m) - hpux
asinl(3m) - hpux
cosf(3m) - hpux
cosq(3m) - hpux
Similar Topics in the Unix Linux Community
ANSI / C Compiler for HP-UX 11.11