Changeset 477 for libmpc/trunk/common/fastmath.c
- Timestamp:
- 01/01/12 18:05:19 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/trunk/common/fastmath.c
r333 r477 30 30 void Init_FastMath ( void ) 31 31 { 32 int i; mpc_floatint X , Y; double xm, x0, xp, x, y; float* p;32 int i; mpc_floatint X; double xm, x0, xp, x, y; float* p; 33 33 34 34 p = (float*) tabatan2; … … 57 57 for ( i = 0; i < 255; i++ ) { 58 58 X.n = (i << 23); 59 Y.n = (i << 23) + (1<<23) - 1;60 59 *p++ = sqrt(X.f); 61 60 }
Note: See TracChangeset
for help on using the changeset viewer.