Changeset 349 for libmpc/trunk/libmpcpsy/cvd.c
- Timestamp:
- 09/23/07 19:12:08 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/trunk/libmpcpsy/cvd.c
r340 r349 227 227 logfast ( float x ) 228 228 { 229 double y = x * x; 230 y *= y; 231 y *= y; 232 return (((int*)(&y))[1] + (45127.5 - 1072693248.)) * ( M_LN2 / (1L<<23) ); 229 mpc_doubleint y; 230 y.d = x * x; 231 y.d *= y.d; 232 y.d *= y.d; 233 return (y.n[1] + (45127.5 - 1072693248.)) * ( M_LN2 / (1L<<23) ); 233 234 } 234 235
Note: See TracChangeset
for help on using the changeset viewer.