copysignf
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 float.NAN, then a
float.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