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
Done. The implementation could be improved (for example, it could return the closest approximation instead of the first found) and the epsilon constant could be changed if we find that we match too much/too little, but it works for me.
Someone writing 3.1415 should probably use some definition of PI. We should look up other constants in the standard library.
The text was updated successfully, but these errors were encountered: