opensolaris man page for copysign

Query: copysign

OS: opensolaris

Section: 3m

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

copysign(3M)						  Mathematical Library Functions					      copysign(3M)

NAME
copysign, copysignf, copysignl - number manipulation function
SYNOPSIS
c99 [ flag... ] file... -lm [ library... ] #include <math.h> double copysign(double x, double y); float copysignf(float x, float y); long double copysignl(long double x, long double y);
DESCRIPTION
These functions produce a value with the magnitude of x and the sign of y.
RETURN VALUES
Upon successful completion, these functions return a value with the magnitude of x and the sign of y.
ERRORS
No errors are defined.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+
SEE ALSO
math.h(3HEAD), signbit(3M),attributes(5), standards(5) SunOS 5.11 12 Jul 2006 copysign(3M)
Related Man Pages
copysign(3) - debian
copysignf(3) - centos
copysign(3) - suse
copysignf(3) - suse
copysignl(3) - suse
Similar Topics in the Unix Linux Community
Perl:: mass replacement of converting C code formats to tgmath.h