Enum FloatMode | Burst | 1.3.9
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.

    0
    Strict

    No floating point optimizations are performed.

    1
    Deterministic

    Reserved for future.

    2
    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.

    3
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Thursday, October 8, 2020