A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-March/013820.html below:

[Python-Dev] test_coercion failing

[Python-Dev] test_coercion failingMark Favas m.favas@per.dem.csiro.au
Thu, 22 Mar 2001 03:44:30 +0800
[Tim searches for -0's]
On Tru64 Unix (4.0F) with Compaq's C compiler I get:
Python 2.1b2 (#344, Mar 22 2001, 03:18:25) [C] on osf1V4
Type "copyright", "credits" or "license" for more information.
>>> x = 0.0
>>> print "%.17g" % -x
-0
>>> print "%+.17g" % -x
-0

and on Solaris 8 (Sparc) with gcc I get:
Python 2.1b2 (#23, Mar 22 2001, 03:25:27) 
[GCC 2.95.2 19991024 (release)] on sunos5
Type "copyright", "credits" or "license" for more information.
>>> x = 0.0
>>> print "%.17g" % -x
-0
>>> print "%+.17g" % -x
-0

while on FreeBSD 4.2 with gcc I get:
Python 2.1b2 (#3, Mar 22 2001, 03:36:19) 
[GCC 2.95.2 19991024 (release)] on freebsd4
Type "copyright", "credits" or "license" for more information.
>>> x = 0.0
>>> print "%.17g" % -x
0
>>> print "%+.17g" % -x
+0

-- 
Mark Favas  -   m.favas@per.dem.csiro.au
CSIRO, Private Bag No 5, Wembley, Western Australia 6913, AUSTRALIA



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4