The 0.8181818181... Truth Movement

Phil Carmody thefatphil_demunged at yahoo.co.uk
Sat Dec 22 09:20:14 EST 2007


On 1117th December 2004, Dustan <DustanGroups at gmail.com> wrote:
> I must break my promise and make another post.
> 
> On Dec 22, 2:31 am, Proginoskes <CCHeck... at gmail.com> wrote:
> > On Dec 20, 4:29 pm, Dustan <DustanGro... at gmail.com> wrote:
> >
> > > On Dec 20, 8:24 am, Marc 'BlackJack' Rintsch <bj_... at gmx.net> wrote:
> >
> > > > On Thu, 20 Dec 2007 03:04:48 -0800, Dustan wrote:
> > > > > On Dec 20, 1:05 am, Proginoskes <CCHeck... at gmail.com> wrote:
> > > > >> I myself prefer the 0.81818181... Truth Movement.
> > > > > More precisely, 0.81818181818181823.
> > > > Hm...
> > > > In [59]: '%.60f' % (9 / 11.0)
> > > > Out[59]: '0.818181818181818232282864755688933655619621276855468750000000'
> >
> > Only using double precision. Weenie.
> 
> Look at the list of groups. Python's the only language in there.
> Python uses double precision. Period.

But Professor Checkman was evidently interested in decimals, so
surely this is more relevant:

>>> from decimal import * 
>>> Decimal('9')/Decimal('11')
Decimal("0.8181818181818181818181818182")

That's not double precision. So evidently Python uses more 
than just double precision. So your above absolute statement
is either wrong or misleading. Period.

...
> Of course, I could also have said that 9/11==0. Would you have figured
> out what I was talking about then?

Odd, it appears that you joined the thread after the good
professor did. Therefore it is you who should be trying to 
figure out what _he_ was saying, not the other way round.

Phil
-- 
Dear aunt, let's set so double the killer delete select all.
-- Microsoft voice recognition live demonstration



More information about the Python-list mailing list