← Back to context

Comment by srean

8 days ago

There's a significant advantage in using a tuple over a scalar to represent angles.

For many operations you can get rid of calls to trigonometric functions, or reduce the number of calls necessary. These calls may not be supported by standard libraries in minimalistic hardware. Even if it were, avoiding calls to transcendental can be useful.