public static class Pi.BorweinPiCalculator extends Object implements Operation<Apfloat>
Constructor and Description |
---|
BorweinPiCalculator(long precision,
int radix)
Construct a pi calculator with the specified precision and radix.
|
Modifier and Type | Method and Description |
---|---|
Apfloat |
execute()
Calculate pi using the Borweins' quartic iteration.
|
Copyright © 2018. All rights reserved.