223
submitted 2 days ago* (last edited 2 days ago) by Melatonin@lemmy.dbzer0.com to c/asklemmy@lemmy.ml

How about ANY FINITE SEQUENCE AT ALL?

you are viewing a single comment's thread
view the rest of the comments
[-] Arfman@aussie.zone 3 points 21 hours ago

I'm a layman here and not a mathematician but how does it store the complete value of pi and not rounded up to a certain amount? Or do one of the libraries generate that?

[-] lukewarm_ozone@lemmy.today 7 points 19 hours ago

You generate it when needed, using one of the known sequences that converges to ฯ€. As a simple example, the pi() recipe here shows how to compute ฯ€ to arbitrary precision. For an application like pifs you can do even better and use the BBP formula which lets you directly calculate a specific hexadecimal digit of ฯ€.

this post was submitted on 26 Dec 2024
223 points (98.7% liked)

Asklemmy

44173 readers
1816 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS