Test whether a value is NaN.

Synopsis

Declared in <folly/ConstexprMath.h>

template<typename T>
constexpr
bool
constexpr_isnan(T const t);

Return Value

True if t is not equal to itself, otherwise false.

Parameters

Name

Description

t

The value to test.

Created with MrDocs