NUnit.Framework.Constraints.FloatingPointNumerics static class FloatingPointNumerics Documentation Code public static bool AreAlmostEqualUlps(float left, float right, int maxUlps) public static bool AreAlmostEqualUlps(double left, double right, long maxUlps)