Returns true if the possibility of a signaling NaN can be safely ignored.

Synopsis

Declared in <llvm/IR/FPEnv.h>

bool
canIgnoreSNaN(
    fp::ExceptionBehavior EB,
    FastMathFlags FMF);

Return Value

True if signaling NaNs can be safely ignored under EB and FMF.

Parameters

Name

Description

EB

Exception behavior governing floating‐point traps.

FMF

Fast‐math flags that may imply NaNs are absent.

Created with MrDocs