Big Float.Equals(Big Float, Big Float, Accuracy Goal) Method
Tests whether a number equals another number up to the specified AccuracyGoal.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
true if first equals second to the precision specified by accuracyGoal; otherwise false.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static bool Equals(
BigFloat first,
BigFloat second,
AccuracyGoal accuracyGoal
)
Parameters
- first BigFloat
- The first BigFloat to compare.
- second BigFloat
- The second BigFloat to compare.
- accuracyGoal AccuracyGoal
- An AccuracyGoal value that specifies the threshold for equality.
Return Value
Booleantrue if first equals second to the precision specified by accuracyGoal; otherwise false.