f
by()
The sign of x, returned as float.
This function returns 1.0 if x is positive (including positive infinity), -1.0 if x is negative, 0.0 if x is zero, and NA if x is NA.
1.0
x
-1.0
0.0