BigFloat.Equals(BigFloat, BigFloat, AccuracyGoal) 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#
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

Boolean
true if first equals second to the precision specified by accuracyGoal; otherwise false.

See Also