diff options
author | das <das@FreeBSD.org> | 2005-01-23 22:56:08 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2005-01-23 22:56:08 +0000 |
commit | d7cc82f1f286ff0856106bfafb548bd338eb61ad (patch) | |
tree | 7bbc72e11fccf3e322e1bf364f10caa919eeaae4 /lib | |
parent | 705e4a57ae13ff48f84a4afca5a73e1ed69ddefe (diff) | |
download | FreeBSD-src-d7cc82f1f286ff0856106bfafb548bd338eb61ad.zip FreeBSD-src-d7cc82f1f286ff0856106bfafb548bd338eb61ad.tar.gz |
Update comment to reflect the code change in the previous revision.
Noticed by: ceri
Diffstat (limited to 'lib')
-rw-r--r-- | lib/msun/src/s_nextafter.c | 2 | ||||
-rw-r--r-- | lib/msun/src/s_nextafterf.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/msun/src/s_nextafter.c b/lib/msun/src/s_nextafter.c index a5a883b..4fc5b77 100644 --- a/lib/msun/src/s_nextafter.c +++ b/lib/msun/src/s_nextafter.c @@ -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; diff --git a/lib/msun/src/s_nextafterf.c b/lib/msun/src/s_nextafterf.c index 812da2a..c4032e9 100644 --- a/lib/msun/src/s_nextafterf.c +++ b/lib/msun/src/s_nextafterf.c @@ -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; |