Query: copysignf
OS: sunos
Section: 3m
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
copysign(3M) Mathematical Library Functions copysign(3M)NAMEcopysign, copysignf, copysignl - number manipulation functionSYNOPSIScc [ 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);DESCRIPTIONThese functions produce a value with the magnitude of x and the sign of y.RETURN VALUESUpon successful completion, these functions return a value with the magnitude of x and the sign of y.ERRORSNo errors are defined.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+SEE ALSOmath.h(3HEAD), signbit(3M),attributes(5), standards(5) SunOS 5.10 1 Sep 2002 copysign(3M)