Return true if number is not a number (NaN).

Synopsis

Declared in <bdlb_float.h>

static
bool
isNan(float number);

Description

This function is equivalent to the isnan macro in C99. Note that if this method returns true, then either isQuietNan or isSignalingNan will also return true.

Return Value

true if number is not a number (NaN), and false otherwise

Parameters

Name

Description

number

floating‐point value to test

Created with MrDocs