@@ -22,8 +22,8 @@ public static class FloatingNumber
2222 /// <param name="firstNumber">The first <see cref="float" />.</param>
2323 /// <param name="secondNumber">The second <see cref="float" />.</param>
2424 /// <returns>Returns <c>true</c>, if they are approximately equal, otherwise <c>false</c>.</returns>
25- public static bool CheckApproximatelyEqual ( float firstNumber , float secondNumber )
26- => CheckApproximatelyEqual ( firstNumber , secondNumber , Epsilon ) ;
25+ public static bool AreApproximatelyEqual ( float firstNumber , float secondNumber )
26+ => AreApproximatelyEqual ( firstNumber , secondNumber , Epsilon ) ;
2727
2828 /// <summary>
2929 /// Determines whether two floating numbers are approximately equal to each other using the specified epsilon value.
@@ -32,8 +32,8 @@ public static bool CheckApproximatelyEqual(float firstNumber, float secondNumber
3232 /// <param name="secondNumber">The second <see cref="float" />.</param>
3333 /// <param name="epsilon">The epsilon value that represents the tolerance.</param>
3434 /// <returns>Returns <c>true</c>, if they are approximately equal, otherwise <c>false</c>.</returns>
35- public static bool CheckApproximatelyEqual ( float firstNumber , float secondNumber , double epsilon )
36- => Math . Abs ( firstNumber - secondNumber ) <= Epsilon ;
35+ public static bool AreApproximatelyEqual ( float firstNumber , float secondNumber , double epsilon )
36+ => Math . Abs ( firstNumber - secondNumber ) <= epsilon ;
3737
3838 /// <summary>
3939 /// Determines whether two floating numbers are approximately equal to each other using the <see cref="Epsilon" />
@@ -42,8 +42,8 @@ public static bool CheckApproximatelyEqual(float firstNumber, float secondNumber
4242 /// <param name="firstNumber">The first <see cref="float" />.</param>
4343 /// <param name="secondNumber">The second <see cref="float" />.</param>
4444 /// <returns>Returns <c>true</c>, if they are approximately equal, otherwise <c>false</c>.</returns>
45- public static bool CheckApproximatelyEqual ( double firstNumber , double secondNumber )
46- => CheckApproximatelyEqual ( firstNumber , secondNumber , Epsilon ) ;
45+ public static bool AreApproximatelyEqual ( double firstNumber , double secondNumber )
46+ => AreApproximatelyEqual ( firstNumber , secondNumber , Epsilon ) ;
4747
4848 /// <summary>
4949 /// Determines whether two floating numbers are approximately equal to each other using the specified epsilon value.
@@ -52,7 +52,7 @@ public static bool CheckApproximatelyEqual(double firstNumber, double secondNumb
5252 /// <param name="secondNumber">The second <see cref="float" />.</param>
5353 /// <param name="epsilon">The epsilon value that represents the tolerance.</param>
5454 /// <returns>Returns <c>true</c>, if they are approximately equal, otherwise <c>false</c>.</returns>
55- public static bool CheckApproximatelyEqual ( double firstNumber , double secondNumber , double epsilon )
56- => Math . Abs ( firstNumber - secondNumber ) <= Epsilon ;
55+ public static bool AreApproximatelyEqual ( double firstNumber , double secondNumber , double epsilon )
56+ => Math . Abs ( firstNumber - secondNumber ) <= epsilon ;
5757 }
5858}
0 commit comments