Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #20943

Re: Python math is off by .000000000000045

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx01.iad01.newshosting.com!newshosting.com!news-out.readnews.com!transit3.readnews.com!panix!not-for-mail
From Grant Edwards <invalid@invalid.invalid>
Newsgroups comp.lang.python
Subject Re: Python math is off by .000000000000045
Date Mon, 27 Feb 2012 15:02:51 +0000 (UTC)
Organization PANIX Public Access Internet and UNIX, NYC
Lines 26
Message-ID <jig5ur$e97$1@reader1.panix.com> (permalink)
References <mailman.49.1329934400.3037.python-list@python.org> <99543cae-b494-409e-9ac1-073639dcf224@p7g2000yqk.googlegroups.com> <4f4af847$0$29999$c3e8da3$5496439d@news.astraweb.com>
NNTP-Posting-Host dsl.comtrol.com
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Trace reader1.panix.com 1330354971 14631 64.122.56.22 (27 Feb 2012 15:02:51 GMT)
X-Complaints-To abuse@panix.com
NNTP-Posting-Date Mon, 27 Feb 2012 15:02:51 +0000 (UTC)
User-Agent slrn/pre0.9.9-102 (Linux)
X-Received-Bytes 2011
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:20943

Show key headers only | View raw


On 2012-02-27, Steven D'Aprano <steve+comp.lang.python@pearwood.info> wrote:
> On Sun, 26 Feb 2012 16:24:14 -0800, John Ladasky wrote:
>
>> Curiosity prompts me to ask...
>> 
>> Those of you who program in other languages regularly: if you visit
>> comp.lang.java, for example, do people ask this question about
>> floating-point arithmetic in that forum?  Or in comp.lang.perl?
>
> Yes.
>
> http://stackoverflow.com/questions/588004/is-javascripts-math-broken
>
> And look at the "Linked" sidebar. Obviously StackOverflow users no
> more search the internet for the solutions to their problems than do 
> comp.lang.python posters.
>
> http://compgroups.net/comp.lang.java.programmer/Floating-point-roundoff-error

One might wonder if the frequency of such questions decreases as the
programming language becomes "lower level" (e.g. C or assembly).

-- 
Grant Edwards               grant.b.edwards        Yow! World War III?
                                  at               No thanks!
                              gmail.com            

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python math is off by .000000000000045 Alec Taylor <alec.taylor6@gmail.com> - 2012-02-23 05:13 +1100
  Re: Python math is off by .000000000000045 nn <pruebauno@latinmail.com> - 2012-02-22 10:29 -0800
  Re: Python math is off by .000000000000045 Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2012-02-22 20:44 +0200
  Re: Python math is off by .000000000000045 Grant Edwards <invalid@invalid.invalid> - 2012-02-22 20:48 +0000
    Re: Python math is off by .000000000000045 Tobiah <toby@tobiah.org> - 2012-02-25 09:56 -0800
      Re: Python math is off by .000000000000045 Tim Wintle <tim.wintle@teamrubber.com> - 2012-02-25 19:08 +0000
      Re: Python math is off by .000000000000045 Terry Reedy <tjreedy@udel.edu> - 2012-02-25 16:05 -0500
        Re: Python math is off by .000000000000045 jmfauth <wxjmfauth@gmail.com> - 2012-02-25 13:25 -0800
          Re: Python math is off by .000000000000045 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-02-25 22:51 +0000
            Re: Python math is off by .000000000000045 jmfauth <wxjmfauth@gmail.com> - 2012-02-26 01:59 -0800
              Re: Python math is off by .000000000000045 Ethan Furman <ethan@stoneleaf.us> - 2012-02-27 09:28 -0800
              Re: Python math is off by .000000000000045 Michael Torrie <torriem@gmail.com> - 2012-02-27 17:53 -0700
              Re: Python math is off by .000000000000045 Ethan Furman <ethan@stoneleaf.us> - 2012-02-28 09:56 -0800
      Re: Python math is off by .000000000000045 Devin Jeanpierre <jeanpierreda@gmail.com> - 2012-02-25 21:49 -0500
      Re: Python math is off by .000000000000045 Terry Reedy <tjreedy@udel.edu> - 2012-02-26 00:44 -0500
  Re: Python math is off by .000000000000045 John Ladasky <ladasky@my-deja.com> - 2012-02-26 16:24 -0800
    Re: Python math is off by .000000000000045 Terry Reedy <tjreedy@udel.edu> - 2012-02-26 20:30 -0500
    Re: Python math is off by .000000000000045 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-02-27 03:28 +0000
      Re: Python math is off by .000000000000045 Grant Edwards <invalid@invalid.invalid> - 2012-02-27 15:02 +0000
        Re: Python math is off by .000000000000045 Michael Torrie <torriem@gmail.com> - 2012-02-27 08:34 -0700

csiph-web