Big Float.Restrict Precision Method
Returns a BigFloat value with at most the specified precision and the same value as this instance.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A BigFloat value with at least accuracyGoal bits of precision with the same value as this instance.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public BigFloat RestrictPrecision(
AccuracyGoal accuracyGoal,
RoundingMode roundingMode
)
Parameters
- accuracyGoal AccuracyGoal
- The precision in bits of the new value.
- roundingMode RoundingMode
- A RoundingMode value that specifies how the result should be rounded.
Return Value
BigFloatA BigFloat value with at least accuracyGoal bits of precision with the same value as this instance.
Remarks
If the precision of this instance is less than or equal to accuracyGoal, this instance is returned.