Returns the sign bit of the specified value. This operation is silent, no error flags are set and no exceptions are thrown.
a _decimal value
1 if the sign bit is set, 0 otherwise
assert(signbit(-decimal32.infinity) == 1); assert(signbit(decimal64.min_normal) == 0); assert(signbit(-decimal128.max) == 1);
See Implementation
Returns the sign bit of the specified value. This operation is silent, no error flags are set and no exceptions are thrown.