I need to express the value of $\pi$ as numerator/denominator. What is the best pair considering that the numerator should be less than or equal to $2^{62}$? Or how to get this pair?
What is the best numerator and denominator couple to get the value of $\pi$?
5
$\begingroup$
pi
-
1See http://stackoverflow.com/questions/4637967/algorithm-challenge-generate-continued-fractions-for-a-float – 2011-02-21
1 Answers
3
I think $\frac{129988029236677443584}{41376474791582048256}$ is the closest fraction to $\pi$ with a numerator less than $2^{62}$.
Edit: I just realized that this question is four years old.