[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
copysign

The function copysign produces a value with the magnitude of x and the sign of y
Compatibility:
This function is compatible with the following targets:
Prototype:
#include <math.h>
double copysign ( double x, double y );
Parameters:
Parameters for this function are:
Remarks:
The copysign function regards the sign of zero as positive. It produces a NaN with the sign of y if x is NaN.
Return:
A value with the magnitude of x and the sign of y.
[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.
Last updated: August 16, 2000