docs.unity3d.com
    Show / Hide Table of Contents

    Enum FloatPrecision

    Represents the floating point precision used for certain builtin operations e.g. sin/cos.

    Namespace: Unity.Burst
    Syntax
    public enum FloatPrecision

    Fields

    Name Description Value
    High

    Compute with an accuracy of 1 ULP - highly accurate, but increased runtime as a result, should not be required for most purposes.

    Low

    Compute with an accuracy lower than or equal to Medium, with some range restrictions (defined per function).

    Medium

    Compute with an accuracy of 3.5 ULP - considered acceptable accuracy for most tasks.

    Standard

    Use the default target floating point precision - Medium.

    Back to top
    Terms of use
    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