Returns the value of pi to the specified number of digits.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static BigFloat GetPi(
AccuracyGoal goal
)
Public Shared Function GetPi (
goal As AccuracyGoal
) As BigFloat
public:
static BigFloat^ GetPi(
AccuracyGoal goal
)
static member GetPi :
goal : AccuracyGoal -> BigFloat
Parameters
- goal
- Type: Extreme.MathematicsAccuracyGoal
An AccuracyGoal value that specifies the desired accuracy.
Return Value
Type:
BigFloatThe number pi to the specified number of digits.
Computing a very large number of digits may take a long time.
Reference