AccuracyGoal Structure

Describes the desired accuracy for an arbitrary precision floating-point operation.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
[SerializableAttribute]
public struct AccuracyGoal
Inheritance
Object  →  ValueType  →  AccuracyGoal

Remarks

Use the AccuracyGoal type to specify the desired accuracy of an arbitrary precision floating-point operation.

Properties

BinaryPrecision Gets the number of bits of desired precision.
InheritFromOperands Gets whether the accuracy goal should be inherited from the operands.
IsAbsolute Gets whether the accuracy goal is absolute.
IsEmpty Gets whether an AccuracyGoal value has no value.
IsRelative Gets whether the accuracy goal is relative to the size of the result.
Precision Gets the number of decimals of desired precision.
TrackAccuracy Gets whether the accuracy of the result should be tracked through the calculations.

Methods

Absolute Returns an AccuracyGoal that specifies that calculations should be done to the specified relative accuracy.
EqualsIndicates whether this instance and a specified object are equal.
(Overrides ValueType.Equals(Object))
GetHashCodeReturns the hash code for this instance.
(Overrides ValueType.GetHashCode())
GetTypeGets the Type of the current instance.
(Inherited from Object)
Relative Returns an AccuracyGoal that specifies that calculations should be done to the specified relative accuracy.
ToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)

Operators

Equality(AccuracyGoal, AccuracyGoal) Compares two accuracy goals for equality.
Inequality(AccuracyGoal, AccuracyGoal) Compares two accuracy goals for inequality.

Fields

DoublePrecision An AccuracyGoal that specifies the equivalent of double precision.
InheritAbsolute An AccuracyGoal that specifies that calculations should be done to the absolute precision of the operands.
InheritRelative An AccuracyGoal that specifies that calculations should be done to the relative precision of the operands.

See Also