User:Odel

From OLPC

Revision as of 15:33, 1 July 2008 by Esemplectic (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Im a high-schooler in Oregon, got an xo throught G1G1 and have been Hacking / Modding ( what ever you want to call it ) sence i got it. So far I have contributed:

-A pippy demo that computed pi http://wiki.laptop.org/go/Pippy#compute_pi.21

An answer

Someone contributed the following to the pippy talk page, (http://wiki.laptop.org/go/Talk:Pippy) I copied it over in case you haven't seen it. Esemplectic 15:33, 1 July 2008 (UTC)

Re: Compute Pi

Travis Hall wrote the pi computation demo http://wiki.laptop.org/go/User:Odel

There he asked how to increase the precision available to his code. Python has two relevant numeric types, integers and floating-point values. The former numeric type is of infinite precision, whereas the floating-point is an IEEE "double" of 64 bits. Accumulate your result as an integer and infer the decimal position by some other means.

Personal tools
  • Log in
  • Login with OpenID
About OLPC
About the laptop
About the tablet
Projects
OLPC wiki
Toolbox