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

Fast Square Root Challenge

Name: Anonymous 2010-07-05 16:04

Design a fast square root function which computes double floating point numbers faster than SQRTSD(SSE2). Bonus for precision.

Name: Anonymous 2010-07-11 1:33

double sqrts[18446744073709551616] = {
 /* the contents of this array are left as an exercise for the reader */
double fastsqrt(double f) {
 int64_t *idx = (int64_t*)&f;
 return sqrts[*idx];
}

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