struct RoundingControl

Defined at line 66 of file ../../third_party/llvm-libc/src/src/__support/FPUtil/x86_64/fenv_x86_common.h

The rounding control values in the x87 control register and the MXCSR

register have the same 2-bit enoding but have different bit positions.

See below for the bit positions.

Public Members

static const uint16_t TO_NEAREST
static const uint16_t DOWNWARD
static const uint16_t UPWARD
static const uint16_t TOWARD_ZERO
static const uint16_t ROUNDING_MASK
static const unsigned int X87_BIT_POSITION
static const unsigned int MXCSR_BIT_POSITION
static const uint16_t X87_ROUNDING_MASK
static const uint16_t MXCSR_ROUNDING_MASK
static const uint16_t RC_ERROR