BloombergLP::bdlb::Float::signBit

Return true if the sign bit of number is set.

Synopsis

Declared in <bdlb_float.h>

static
bool
signBit(double number);

Return Value

true if the sign bit of number is set, and false otherwise

Parameters

NameDescription
numberfloating-point value to test