Overview
- Object ID : 2092 (2018-08-06)
- Author : Kwabena W. Agyeman | added by Archiver
- Content : Code
- Microcontroller : Propeller 1
- Language : SPIN
- Category : Math
- Licence : Other
Content
A trigonometric integer math library. The code has been fully optimized with a super simple spin interface for maximum speed and is also fully commented.
Provides full support for:
- Taking the SIN of an angle (0-360),
- Taking the COS of an angle (0-360),
- Taking the TAN of an angle (0-360),
- Finding the ARCSIN of a triangle,
- Finding the ARCCOS of a triangle,
- Finding the ARCTAN of a triangle,
- Preforming the ATAN2 calculation,
- Preforming the DISTANCE calculation,
- Calculating integer powers,
- Calculating random numbers,