| |
The article argues that using "turns" (a [0,1] range representing a full circle) instead of radians in code is more efficient and precise than the commonly-advocated switch from pi to tau. The author demonstrates that most code multiplies values by tau to convert them to radians for trigonometric functions, only for those functions to immediately divide by pi to convert back, creating unnecessary computation and floating-point precision loss that could be eliminated by standardizing on the turn-based [0,1] domain throughout.
Read Full Article →
← More Tech news