Share via


_MM_GET_ROUNDING_MODE

Microsoft Specific

Reads from bits thirteen and fourteen of the control register.

_MM_GET_ROUNDING_MODE( )

Remarks

The header file xmmintrin.h contains the declarations for the SSE intrinsics.

Example

The following example tests the rounding mode for round toward zero.

if (_MM_GET_ROUNDING_MODE() == _MM_ROUND_TOWARD_ZERO)
{
   /* Rounding mode is round toward zero */
}

END Microsoft Specific

See Also

Reference

Macro Functions to Read and Write the Control Registers

_MM_SET_ROUNDING_MODE