Returns true if the exception handling behavior and rounding mode match what is used in the default floating point environment.

Synopsis

Declared in <llvm/IR/FPEnv.h>

bool
isDefaultFPEnvironment(
    fp::ExceptionBehavior EB,
    RoundingMode RM);

Return Value

True if EB and RM match the default floating‐point environment.

Parameters

Name

Description

EB

Exception behavior to compare against the default.

RM

Rounding mode to compare against the default.

Created with MrDocs