Enum FloatMode | Package Manager UI website
docs.unity3d.com
    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
    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.

    In This Article
    • Fields
    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