docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum FloatMode

    Represents the floating point optimization mode for compilation.

    Namespace: Unity.Burst
    Assembly: Unity.Burst.dll
    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
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)