Fixed Visual Studio warning 4389
This commit is contained in:
1 parent
d135daad5b
commit
0bd77a5b93
12 files changed
+19
-18
No files matched your search
+1
-1
@@ -139,7 +139,7 @@ double attribute_hidden __ieee754_pow(double x, double y)
|
||||
k = (iy>>20)-0x3ff; /* exponent */
|
||||
if(k>20) {
|
||||
j = ly>>(52-k);
|
||||
if((j<<(52-k))==ly) yisint = 2-(j&1);
|
||||
if(((u_int32_t)j<<(52-k))==ly) yisint = 2-(j&1);
|
||||
} else if(ly==0) {
|
||||
j = iy>>(20-k);
|
||||
if((j<<(20-k))==iy) yisint = 2-(j&1);
|
||||
|
||||
+1
-1
@@ -149,7 +149,7 @@ double attribute_hidden __ieee754_sqrt(double x)
|
||||
t = s0;
|
||||
if((t<ix0)||((t==ix0)&&(t1<=ix1))) {
|
||||
s1 = t1+r;
|
||||
if(((t1&sign)==sign)&&(s1&sign)==0) s0 += 1;
|
||||
if(((t1&sign)==(u_int32_t)sign)&&(s1&sign)==0) s0 += 1;
|
||||
ix0 -= t;
|
||||
if (ix1 < t1) ix0 -= 1;
|
||||
ix1 -= t1;
|
||||
|
||||
Reference in new issue
Block a user