hpux man page for copysign

Query: copysign

OS: hpux

Section: 3m

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

copysign(3M)															      copysign(3M)

NAME
copysign(), copysignf(), copysignl(), copysignw(), copysignq() - copysign functions
SYNOPSIS
HP Integrity Server Only
DESCRIPTION
The function returns x with its sign changed to the sign of y. is a version of it takes arguments and returns a result. Integrity Server Only is a version of it takes arguments and returns a result. is an version of it takes arguments 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 options. To use (for Integrity servers) compile with the option. Make sure your program includes Link in the math library by specifying on the compiler or linker command line.
RETURN VALUE
The function returns a value with the magnitude of x and the sign of y. These functions raise no exceptions.
ERRORS
No errors are defined.
SEE ALSO
fabs(3M), fpclassify(3M), remainder(3M), scalbn(3M), signbit(3M), math(5).
STANDARDS CONFORMANCE
: ISO/IEC C99 (including Annex F, "IEC 60559 floating-point arithmetic") copysign(3M)
Related Man Pages
copysignq(3m) - hpux
copysignw(3m) - hpux
remquof(3m) - hpux
remquol(3m) - hpux
remquoq(3m) - hpux
Similar Topics in the Unix Linux Community
Changing the way arguments are read from program