>
> So it seems then that python might not be very good for doing
> precision floating point work, because there is a good chance its
> floating points will be off by a (very small) amount? Or is there a
> way to get around this and be guaranteed an accurate answer?- Hide quoted
> text -
>
It's
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
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
libraries which, in turn, usually rely on the hardware's floating
point implemen
[EMAIL PROTECTED] wrote:
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
On Jun 17, 10:47 pm, [EMAIL PROTECTED] wrote:
> 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
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