Big Float.Get Pi(Accuracy Goal) Method
Returns the value of pi to the specified number of digits.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The number pi to the specified number of digits.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static BigFloat GetPi(
AccuracyGoal goal
)
Parameters
- goal AccuracyGoal
- An AccuracyGoal value that specifies the desired accuracy.
Return Value
BigFloatThe number pi to the specified number of digits.
Remarks
Computing a very large number of digits may take a long time.