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
Currently, there is easy to check if two floats are close to each other, but it would be nice to add some new methods that extend this method and maybe a few other float specific to work with more types such as decimal and UoMs.
/// Rough v1. Need to look at the other methods to make it compatible.let inlineclose v1 v2 epsilon =letdiff=(v1 - v2)letdelta= abs diff
delta < epsilon
The text was updated successfully, but these errors were encountered:
Currently, there is easy to check if two floats are close to each other, but it would be nice to add some new methods that extend this method and maybe a few other float specific to work with more types such as decimal and UoMs.
The text was updated successfully, but these errors were encountered: