render2d/math.rs#
Source: lib/render2d/math.rs
math -- what the scene computes on the CPU in f64 (no libm in no_std; render3d's math.rs has the same)
fn sqrt(x: f64) -> f64the square root (x <= 0: 0)fn sincos(x: f64) -> (f64, f64)sine and cosine: reduced to -pi ..= pi, then their seriesfn split(x: f64) -> (f32, f32)a coordinate as the two f32 the GPU holds of it: hi = f32(x), lo = f32(x - hi) (decision 28; docs/RENDER2D.md)