docs.unity.cn
    Show / Hide Table of Contents

    Enum FloatMode

    Represents the floating point optimization mode for compilation.

    Namespace: Unity.Burst
    Syntax
    public enum FloatMode

    Fields

    Name Description Value
    Default

    Use the default target floating point mode - Strict.

    Deterministic

    Reserved for future.

    Fast

    Allows algebraically equivalent optimizations (which can alter the results of calculations), it implies :

    optimizations can assume results and arguments contain no NaNs or +/- Infinity and treat sign of zero as insignificant.

    optimizations can use reciprocals - 1/x * y , instead of y/x.

    optimizations can use fused instructions, e.g. madd.

    Strict

    No floating point optimizations are performed.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, June 9, 2022
    Terms of use