CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2011/04/16 14:43:51

Modified files:
        lib/libm/src   : s_nextafter.c s_nextafterf.c 

Log message:
C99: "The nextafter functions return y if x equals y."

Therefore, in nextafter() and nextafterf():
-       if(x==y) return x;              /* x=y, return x */
-       if(x==y) return y;              /* x=y, return y */

This matters for negative zero inputs of x or y.

Reply via email to