Re: Hrounding error

2008-06-18 Thread cooperq
On Jun 18, 8:02 am, "Jerry Hill" <[EMAIL PROTECTED]> wrote: > On Wed, Jun 18, 2008 at 1:47 AM,  <[EMAIL PROTECTED]> wrote: > 234 - 23234.2345 > > -23000.2344 > > > This is not correct by my calculations. > > Python floating point operations use the underlying C floating point > librari

Hrounding error

2008-06-17 Thread cooperq
Hi, I am new to python. I was messing around in the interperator checking out the floating point handling and I believe I may have found a rounding bug: >>> 234 - 23234.2345 -23000.2344 This is not correct by my calculations. I am using python 2.5.2 in ubuntu 8.04. I am wondering if t