Determines whether the sign bit of x is set or not.
If the sign bit, x is a negative number, otherwise positive.
Type of the floating point number.
Floating point number.
$(D_KEYWORD true) if the sign bit of x is set, $(D_KEYWORD false) otherwise.
assert(signBit(-1.0f)); assert(!signBit(1.0f)); assert(signBit(-1.0)); assert(!signBit(1.0)); assert(signBit(-1.0L)); assert(!signBit(1.0L));
See Implementation
Determines whether the sign bit of x is set or not.
If the sign bit, x is a negative number, otherwise positive.