Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


X86.RoundingMode

Rounding mode flags
Read time 1 minuteLast updated 14 days ago

Definition

[Flags]public enum X86.RoundingMode

Fields

Value

Description

FROUND_CEILRound using Ceiling function without suppressing exceptions
FROUND_CEIL_NOEXCRound using Ceiling function and suppressing exceptions
FROUND_CUR_DIRECTIONRound to current direction
FROUND_FLOORRound using Floor function without suppressing exceptions
FROUND_FLOOR_NOEXCRound using Floor function and suppressing exceptions
FROUND_NEARBYINTRound using MXCSR.RC and suppressing exceptions
FROUND_NINTRound to the nearest integer without suppressing exceptions
FROUND_NINT_NOEXCRound to nearest integer and suppressing exceptions
FROUND_NO_EXCSuppress exceptions
FROUND_RAISE_EXCDo not suppress exceptions
FROUND_RINTRound using MXCSR.RC without suppressing exceptions
FROUND_RINT_NOEXCRound using MXCSR.RC and suppressing exceptions
FROUND_TO_NEAREST_INTRound to the nearest integer
FROUND_TO_NEG_INFRound to negative infinity
FROUND_TO_POS_INFRound to positive infinity
FROUND_TO_ZERORound to zero
FROUND_TRUNCRound by truncating without suppressing exceptions
FROUND_TRUNC_NOEXCRound by truncating and suppressing exceptions