trigonometric functions
brs
Posts: 33
i noticed the propeller's reserved word list does not include trigonometric functions, i.e. sine, cosine, etc. are these built-in functions in the propeller?
has an object been created for this?
has an object been created for this?
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
1+1=10
Sine Table ($E000-$F001)
The sine table provides 2,049 unsigned 16-bit sine samples spanning from 0° to 90°, inclusively (0.0439° resolution).
A small amount of assembly code can mirror and flip the sine table samples to create a full-cycle sine/cosine lookup routine which has
13-bit angle resolution and 17-bit sample resolution: