|
@@ -33,7 +33,7 @@ double attribute_hidden __ieee754_fmod(double x, double y)
|
|
|
|
|
|
/* purge off exception values */
|
|
/* purge off exception values */
|
|
if((hy|ly)==0||(hx>=0x7ff00000)|| /* y=0,or x not finite */
|
|
if((hy|ly)==0||(hx>=0x7ff00000)|| /* y=0,or x not finite */
|
|
- ((hy|((ly|-ly)>>31))>0x7ff00000)) /* or y is NaN */
|
|
|
|
|
|
+ ((hy|((ly|-(int32_t)ly)>>31))>0x7ff00000)) /* or y is NaN */
|
|
return (x*y)/(x*y);
|
|
return (x*y)/(x*y);
|
|
if(hx<=hy) {
|
|
if(hx<=hy) {
|
|
if((hx<hy)||(lx<ly)) return x; /* |x|<|y| return x */
|
|
if((hx<hy)||(lx<ly)) return x; /* |x|<|y| return x */
|