|
Re: Possiblity of using a few trig functions
I would not expect abs to be take very many processors cycles, could be written as such,
int abs (int num)
{
if(num<0)
{
num=(-1)*num;
}
return(num);
}
__________________
A2D Solving the Imaginary Error Function...
|