C# Class SharpFE.DoubleExtension

Extension methods for System.Double
Afficher le fichier Open project: iainsproat/SharpFE

Méthodes publiques

Méthode Description
IsApproximatelyEqualTo ( this lhs, double other ) : bool

Equality comparison using double.epsilon.

IsApproximatelyEqualTo ( this lhs, double other, double tolerance ) : bool

Equality comparison using a tolerance.

Method Details

IsApproximatelyEqualTo() public static méthode

Equality comparison using double.epsilon.
public static IsApproximatelyEqualTo ( this lhs, double other ) : bool
lhs this
other double
Résultat bool

IsApproximatelyEqualTo() public static méthode

Equality comparison using a tolerance.
public static IsApproximatelyEqualTo ( this lhs, double other, double tolerance ) : bool
lhs this
other double
tolerance double
Résultat bool