Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.

 help



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: