功能更新
This commit is contained in:
9
Melskin/Controls/SplashWindow/MathHelper.cs
Normal file
9
Melskin/Controls/SplashWindow/MathHelper.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace Melskin.Controls
|
||||
{
|
||||
internal static class MathHelper
|
||||
{
|
||||
internal const double DBL_EPSILON = 2.2204460492503131e-016;
|
||||
|
||||
public static bool IsZero(double value) => Math.Abs(value) < 10.0 * DBL_EPSILON;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user