[#BloombergLP-bdlb-Float-signBit-0b]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/Float.adoc[Float]::signBit
:relfileprefix: ../../../
:mrdocs:

`signBit` overloads

== Synopses

Declared in `&lt;bdlb&lowbar;float&period;h&gt;`

Return `true` if `number` is negative, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
xref:BloombergLP/bdlb/Float/signBit-04b2.adoc[signBit](double number);
----

[.small]#xref:BloombergLP/bdlb/Float/signBit-04b2.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified floating point `number` has its sign bit set (i&period;e&period;, it is negative), and `false` otherwise&period; This function is equivalent to the `signbit` macro in C99&period; Note that this function will return `true` for some NaNs, even though the concepts of negative and positive do not apply to NaNs&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
xref:BloombergLP/bdlb/Float/signBit-04bb.adoc[signBit](float number);
----

[.small]#xref:BloombergLP/bdlb/Float/signBit-04bb.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
