Accuracy Goal Structure
Describes the desired accuracy for an arbitrary precision floating-point operation.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
[SerializableAttribute]
public struct AccuracyGoal
Remarks
Use the AccuracyGoal type to specify the desired accuracy of an arbitrary precision floating-point operation.
Properties
Binary | Gets the number of bits of desired precision. |
Inherit | 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. |
Track | 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. |
Equals | Indicates whether this instance and a specified object are equal. (Overrides ValueType.Equals(Object)) |
Get | Returns the hash code for this instance. (Overrides ValueType.GetHashCode()) |
Get | Gets 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. |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType) |
Operators
Equality( | Compares two accuracy goals for equality. |
Inequality( | Compares two accuracy goals for inequality. |
Fields
Double | An AccuracyGoal that specifies the equivalent of double precision. |
Inherit | An AccuracyGoal that specifies that calculations should be done to the absolute precision of the operands. |
Inherit | An AccuracyGoal that specifies that calculations should be done to the relative precision of the operands. |
Integer | An AccuracyGoal that specifies that calculations should be done to integer precision, without digits after the decimal. |
Quad | An AccuracyGoal that specifies the equivalent of quad precision. |
Single | An AccuracyGoal that specifies the equivalent of single precision. |