You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Computer memory can’t hold the whole pi, so It happened to be I saved my dog photo exactly after my computer memory ends, how do I get it back???
Actually I’m really interested in how can I store “any” file if computer memory is not endless and in such case I may not find suitable sequence of numbers?
The text was updated successfully, but these errors were encountered:
You don't need to calculate all of the digits of Pi. You can calculate one at a time.
The BBP formula gives rise to a spigot algorithm for computing the nth base-16 (hexadecimal) digit of π [...] without computing the preceding digits.
This algorithm computes π without requiring custom data types having thousands or even millions of digits. The method calculates the nth digit without calculating the first n − 1 digits and can use small, efficient data types. (source)
The program still can't run forever, tough, because of complicated math reasons (1)(2)(3)
Computer memory can’t hold the whole pi, so It happened to be I saved my dog photo exactly after my computer memory ends, how do I get it back???
Actually I’m really interested in how can I store “any” file if computer memory is not endless and in such case I may not find suitable sequence of numbers?
The text was updated successfully, but these errors were encountered: