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

Return `true` if the sign bit of `number` is set&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
signBit(float number);
----

== Description

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;

== Return Value

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *number*
| floating&hyphen;point value to test
|===


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