.. efun:: int sgn(int|float arg) Return the sign of the argument. arg sgn(arg) -------------- > 0 1 0 0 < 0 -1 :history 3.2.9 introduced: .. seealso:: :efun:`abs`