Update comment to reflect the code change in the previous revision.
Noticed by: ceri
This commit is contained in:
parent
705e4a57ae
commit
d7cc82f1f2
@ -38,7 +38,7 @@ nextafter(double x, double y)
|
||||
if(((ix>=0x7ff00000)&&((ix-0x7ff00000)|lx)!=0) || /* x is nan */
|
||||
((iy>=0x7ff00000)&&((iy-0x7ff00000)|ly)!=0)) /* y is nan */
|
||||
return x+y;
|
||||
if(x==y) return y; /* x=y, return x */
|
||||
if(x==y) return y; /* x=y, return y */
|
||||
if((ix|lx)==0) { /* x == 0 */
|
||||
INSERT_WORDS(x,hy&0x80000000,1); /* return +-minsubnormal */
|
||||
y = x*x;
|
||||
|
@ -33,7 +33,7 @@ nextafterf(float x, float y)
|
||||
if((ix>0x7f800000) || /* x is nan */
|
||||
(iy>0x7f800000)) /* y is nan */
|
||||
return x+y;
|
||||
if(x==y) return y; /* x=y, return x */
|
||||
if(x==y) return y; /* x=y, return y */
|
||||
if(ix==0) { /* x == 0 */
|
||||
SET_FLOAT_WORD(x,(hy&0x80000000)|1);/* return +-minsubnormal */
|
||||
y = x*x;
|
||||
|
Loading…
Reference in New Issue
Block a user