Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


FloatMode

Represents the floating point optimization mode for compilation.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Enum
  • Namespace: Unity.Burst
  • Assembly: UnityEngine.BurstModule
public enum FloatMode

Fields

Value

Description

DefaultUse the default target floating point mode - FloatMode.Strict.
DeterministicEnsure that floating point calculations are deterministic (64-bit only).
FastAllows algebraically equivalent optimizations (which can alter the results of calculations), it implies :
StrictNo floating point optimizations are performed.