Decimal to fraction (leancrew.com)
from tedu to programming on 15 Aug 2023 20:52
https://azorius.net/g/programming/p/687lLBgYlF219sFSbq-Decimal-to-fraction

The way to get the best fractional representation of a real number is to use continued fractions and their convergents.

One last thing about continued fractions: they’re the easiest way to see how some common approximations of π were arrived at.

#math #programming

threaded - newest