Hm, doesn´t seem to be so for my regular python. Python 2.3.3 Stackless 3.0 040407 (#51, Apr 7 2004, 19:28:46) [MSC v.1200 32 bi t (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> x = -0.0 >>> y = 0.0 >>> x,y (0.0, 0.0) >>>
maybe it is 2.3.3, or maybe it is stackless from back then. K > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of "Martin v. Löwis" > Sent: 3. október 2006 17:56 > To: [EMAIL PROTECTED] > Cc: Nick Maclaren; python-dev@python.org > Subject: Re: [Python-Dev] Caching float(0.0) > > [EMAIL PROTECTED] schrieb: > > If C90 doesn't distinguish -0.0 and +0.0, how can Python? Can you > > give a simple example where the difference between the two > is apparent > > to the Python programmer? > > Sure: > > py> x=-0.0 > py> y=0.0 > py> x,y _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com