Skip to main content

Module math

Module math 

Source

Functions§

sincos
sine and cosine: reduced to -pi ..= pi, then their series
split
a coordinate as the two f32 the GPU holds of it: hi = f32(x), lo = f32(x - hi) (decision 28; docs/RENDER2D.md)
sqrt
the square root (x <= 0: 0)