fix code page issues, see also Issue 414
This commit is contained in:
@@ -253,7 +253,7 @@ SIMD_FORCE_INLINE btScalar btSqrt(btScalar y)
|
|||||||
tempf = y;
|
tempf = y;
|
||||||
*tfptr = (0xbfcdd90a - *tfptr)>>1; /* estimate of 1/sqrt(y) */
|
*tfptr = (0xbfcdd90a - *tfptr)>>1; /* estimate of 1/sqrt(y) */
|
||||||
x = tempf;
|
x = tempf;
|
||||||
z = y*btScalar(0.5); /* hoist out the <20>/2<> */
|
z = y*btScalar(0.5);
|
||||||
x = (btScalar(1.5)*x)-(x*x)*(x*z); /* iteration formula */
|
x = (btScalar(1.5)*x)-(x*x)*(x*z); /* iteration formula */
|
||||||
x = (btScalar(1.5)*x)-(x*x)*(x*z);
|
x = (btScalar(1.5)*x)-(x*x)*(x*z);
|
||||||
x = (btScalar(1.5)*x)-(x*x)*(x*z);
|
x = (btScalar(1.5)*x)-(x*x)*(x*z);
|
||||||
|
|||||||
Reference in New Issue
Block a user