PEP 238 (revised)
Greg Ewing
greg at cosc.canterbury.ac.nz
Tue Jul 31 02:19:17 EDT 2001
Guido van Rossum wrote:
>
> I don't know of a portable way to generate -0.0 in Python; on my Linux
> box, simply writing -0.0 does it, but not on my Windows box.
You could try things like
-1.0 * 0.0
--
Greg Ewing, Computer Science Dept, University of Canterbury,
Christchurch, New Zealand
To get my email address, please visit my web page:
http://www.cosc.canterbury.ac.nz/~greg
More information about the Python-list
mailing list