I hope i got the section right.
I'm investigating the axoloti function SINE2TINTERP(phase,output destination).
From what i have understood phase is the actual argument of the function, the one in which the sine will be calculated. Output destination is a variable in which the result will be stored.
Soo, if i do
int32_t r;
SINE2TINTERP( some number here,r);
the value sin(some other number)
will be stored inside the r variable.
But what is the range of the function? I tried dissecting the math/cos object and aside from the uberweird bitwise shifts there's not a lot of magic happening.
Is there some way to port the function to a normal mathematical range? sin(+/-pi)=0 sin(pi/2)=1, sin(-pi/2)=-1 ?