Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

math.h

Name: Anonymous 2010-11-18 17:28

is math.h functions not recommended when wanting speed? I remember seeing one of you guys commenting on someone using pow awhile ago, so what's the secret here?

Name: Anonymous 2010-11-20 11:14

use this:
double powd(double x,double y)
{
    int i;
    for(i=0;i<y;i++)
        x*=x;
    return x;
}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List