[Python-Dev] test_coercion failing

Jack Jansen jack@oratrix.nl
Wed, 21 Mar 2001 13:57:53 +0100


> Everyone!  Run this program under current CVS:
> 
> x = 0.0
> print "%.17g" % -x
> print "%+.17g" % -x
> 
> What do you get?  WinTel prints "0" for the first and "+0" for the second.

Macintosh: -0 for both.
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm