<PackageReference Include="NUnit" Version="4.3.2" />

NUnit.Framework.Constraints.FloatingPointNumerics

static class FloatingPointNumerics
Helper routines for working with floating point numbers
namespace NUnit.Framework.Constraints { internal static class FloatingPointNumerics { public static bool AreAlmostEqualUlps(float left, float right, int maxUlps); public static bool AreAlmostEqualUlps(double left, double right, long maxUlps); } }