FUNCTION
big_integer.sign
pure function sign(): integerReturns the sign of this big_integer: -1 if negative, 0 if zero, and 1 if positive.
It holds that for all x, x == x.sign() * x.abs().
Since 0.12.0
FUNCTION
pure function sign(): integerReturns the sign of this big_integer: -1 if negative, 0 if zero, and 1 if positive.
It holds that for all x, x == x.sign() * x.abs().
Since 0.12.0
↑↓ move↵ openEsc close