comparison src/video/e_sqrt.h @ 1345:7f32b9bede06

Fixes for Visual C++ 6.0
author Sam Lantinga <slouken@libsdl.org>
date Tue, 07 Feb 2006 18:36:54 +0000
parents 450721ad5436
children 7a610f25c12f
comparison
equal deleted inserted replaced
1344:2eed9997bd24 1345:7f32b9bede06
200 while(r!=0) { 200 while(r!=0) {
201 t1 = s1+r; 201 t1 = s1+r;
202 t = s0; 202 t = s0;
203 if((t<ix0)||((t==ix0)&&(t1<=ix1))) { 203 if((t<ix0)||((t==ix0)&&(t1<=ix1))) {
204 s1 = t1+r; 204 s1 = t1+r;
205 if(((t1&sign)==sign)&&(s1&sign)==0) s0 += 1; 205 if(((int32_t)(t1&sign)==sign)&&(s1&sign)==0) s0 += 1;
206 ix0 -= t; 206 ix0 -= t;
207 if (ix1 < t1) ix0 -= 1; 207 if (ix1 < t1) ix0 -= 1;
208 ix1 -= t1; 208 ix1 -= t1;
209 q1 += r; 209 q1 += r;
210 } 210 }