docs.unity3d.com
    Show / Hide Table of Contents

    Enum X86.RoundingMode

    Rounding mode flags

    Namespace: Unity.Burst.Intrinsics
    Syntax
    public enum RoundingMode : int

    Fields

    Name Description Value
    FROUND_CEIL

    Round using Ceiling function without suppressing exceptions

    FROUND_TO_ZERO

    Round to zero

    FROUND_TO_POS_INF

    Round to positive infinity

    FROUND_TO_NEG_INF

    Round to negative infinity

    FROUND_TO_NEAREST_INT

    Round to the nearest integer

    FROUND_RINT_NOEXC

    Round using MXCSR.RC and suppressing exceptions

    FROUND_RINT

    Round using MXCSR.RC without suppressing exceptions

    FROUND_RAISE_EXC

    Do not suppress exceptions

    FROUND_NO_EXC

    Suppress exceptions

    FROUND_NINT_NOEXC

    Round to nearest integer and suppressing exceptions

    FROUND_NINT

    Round to the nearest integer without suppressing exceptions

    FROUND_NEARBYINT

    Round using MXCSR.RC and suppressing exceptions

    FROUND_FLOOR_NOEXC

    Round using Floor function and suppressing exceptions

    FROUND_FLOOR

    Round using Floor function without suppressing exceptions

    FROUND_CUR_DIRECTION

    Round to current direction

    FROUND_CEIL_NOEXC

    Round using Ceiling function and suppressing exceptions

    FROUND_TRUNC

    Round by truncating without suppressing exceptions

    FROUND_TRUNC_NOEXC

    Round by truncating and suppressing exceptions

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023