Re: [Python-Dev] Nondeterministic long-to-float coercion

2006-10-19 Thread Facundo Batista
2006/10/19, Raymond Hettinger <[EMAIL PROTECTED]>: > My colleague got an odd result today that is reproducible on his build > of Python (RedHat's distribution of Py2.4.2) but not any other builds > ... > >>> set(-194 * (1/100.0) for i in range(1)) > set([-19400.0, -193995904.0, -19

Re: [Python-Dev] Nondeterministic long-to-float coercion

2006-10-19 Thread Raymond Hettinger
80.0 >>> -194 * (1/100.0) -19400.0 >>> -194 * (1/100.0) -19400.0 Raymond -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 19, 2006 1:44 PM To: Raymond Hettinger Cc: [email protected] Subject: Re: [P

Re: [Python-Dev] Nondeterministic long-to-float coercion

2006-10-19 Thread Tim Peters
[Raymond Hettinger] > My colleague got an odd result today that is reproducible on his build > of Python (RedHat's distribution of Py2.4.2) but not any other builds > I've checked (including an Ubuntu Py2.4.2 built with a later version of > GCC). I hypothesized that this was a bug in the underlyin

Re: [Python-Dev] Nondeterministic long-to-float coercion

2006-10-19 Thread Bryan O'Sullivan
Raymond Hettinger wrote: > My colleague got an odd result today that is reproducible on his build > of Python (RedHat's distribution of Py2.4.2) but not any other builds > I've checked (including an Ubuntu Py2.4.2 built with a later version of > GCC). I hypothesized that this was a bug in the unde

Re: [Python-Dev] Nondeterministic long-to-float coercion

2006-10-19 Thread Martin v. Löwis
Raymond Hettinger schrieb: > My colleague got an odd result today that is reproducible on his build > of Python (RedHat's distribution of Py2.4.2) but not any other builds > I've checked (including an Ubuntu Py2.4.2 built with a later version of > GCC). I hypothesized that this was a bug in the un

Re: [Python-Dev] Nondeterministic long-to-float coercion

2006-10-19 Thread skip
Raymond> My colleague got an odd result today that is reproducible on Raymond> his build of Python (RedHat's distribution of Py2.4.2) but not Raymond> any other builds I've checked (including an Ubuntu Py2.4.2 Raymond> built with a later version of GCC). I hypothesized that this