Math errors in python
Paul Foley
see at below.invalid
Sun Sep 19 23:16:07 EDT 2004
On 19 Sep 2004 15:24:31 -0700, Dan Bishop wrote:
> There are, of course, reasonably accurate rational approximations of
> pi. For example, 355/113 (accurate to 6 decimal places), 312689/99532
> (9 decimal places), or 3126535/995207 (11 decimal places). Also, the
> IEEE 754 double-precision representation of pi is equal to the
> rational number 4503599627370496/281474976710656.
I hope not! That's equal to 16. (The double float closest to) pi is
884279719003555/281474976710656
--
Don't worry about people stealing your ideas. If your ideas are any good,
you'll have to ram them down people's throats.
-- Howard Aiken
(setq reply-to
(concatenate 'string "Paul Foley " "<mycroft" '(#\@) "actrix.gen.nz>"))
More information about the Python-list
mailing list