llvm::Constant::isNaN

Return true if this is a floating-point NaN constant or a vector floating-point constant with all NaN elements.

Synopsis

Declared in <llvm/IR/Constant.h>

bool
isNaN() const;

Return Value

True if this is a floating-point NaN constant.