enum RoundingMode

Description

Rounding mode used for floating point operations. Each of these values correspond to some metadata argument value of a constrained floating point intrinsic. See the LLVM Language Reference Manual for details.

Declared at: llvm/include/llvm/IR/FPEnv.h:31

Enumerators

NameValueComment
rmDynamic0This corresponds to "fpround.dynamic".
rmToNearest1This corresponds to "fpround.tonearest".
rmDownward2This corresponds to "fpround.downward".
rmUpward3This corresponds to "fpround.upward".
rmTowardZero4This corresponds to "fpround.tozero".