C# Class Standard.DoubleUtilities

DoubleUtil uses fixed eps to provide fuzzy comparison functionality for doubles. Note that FP noise is a big problem and using any of these compare methods is not a complete solution, but rather the way to reduce the probability of repeating unnecessary work.
Show file Open project: MahApps/MahApps.Metro Class Usage Examples

Private Methods

Method Description
AreClose ( double value1, double value2 ) : bool
IsCloseTo ( this value1, double value2 ) : bool
IsFinite ( this value ) : bool
IsFiniteAndNonNegative ( this d ) : bool
IsGreaterThanOrCloseTo ( this value1, double value2 ) : bool
IsLessThanOrCloseTo ( this value1, double value2 ) : bool
IsStrictlyGreaterThan ( this value1, double value2 ) : bool
IsStrictlyLessThan ( this value1, double value2 ) : bool
IsValidSize ( this value ) : bool