copysign
Description:
Returns a value whose absolute value matches that of x, but whose sign bit matches that of y.
Note:
Remember to link the math library: valac -X -lm ...
If x is a double.NAN, then a Nan with the sign bit of y is
returned.
Parameters:
| x |
A numeric value. |
| y |
A numeric value. |
Namespace: GLib.Math
Package: glib-2.0