Tests whether a number equals another number up to the specified
AccuracyGoal.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static bool Equals(
BigFloat first,
BigFloat second,
AccuracyGoal accuracyGoal
)
Public Shared Function Equals (
first As BigFloat,
second As BigFloat,
accuracyGoal As AccuracyGoal
) As Boolean
public:
static bool Equals(
BigFloat^ first,
BigFloat^ second,
AccuracyGoal accuracyGoal
)
static member Equals :
first : BigFloat *
second : BigFloat *
accuracyGoal : AccuracyGoal -> bool
Parameters
- first
- Type: Extreme.MathematicsBigFloat
The first BigFloat to compare. - second
- Type: Extreme.MathematicsBigFloat
The second BigFloat to compare. - accuracyGoal
- Type: Extreme.MathematicsAccuracyGoal
An AccuracyGoal value that specifies the threshold for equality.
Return Value
Type:
Boolean if
first equals
second to the precision
specified by
accuracyGoal; otherwise
.
Reference