Unity vs floating point
Summary
An in-depth look at how Unity handles floating-point math across Mono, Burst, and IL2CPP. It explains that Mathf uses double precision under the hood, System.MathF offers a float API, and that performance varies by backend; Burst tends to align with single-precision sqrt when using Unity Math, while IL2CPP has its own optimizations. The piece includes detailed benchmarks and code-gen insights, highlighting that there isn't a single best choice across all configurations.