lplatypus <[EMAIL PROTECTED]> added the comment: No it won't distinguish between +0.0 and -0.0 in its present form, because these two have the same value according to the C equality operator. This should be easy to adjust, eg we could exclude -0.0 by changing the comparison if (fval == 0.0) into static double positive_zero = 0.0; ... if (!memcmp(&fval, &positive_zero, sizeof(double)))
_______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4024> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com