Note: The Listed platform will permanently shut down December 31, 2026. Your data published on Listed will still be available in your personal Standard Notes account. Learn more

2020-07-18

I stumbled across an interesting algorithm for finding rational approximations to real numbers: Farey Approximation. I found an implementation in Python and C++, but they did not always give the expected answer. I simplified the code, and I was able to get the values that one would expect.

More from Chris Capobianco
All posts