mirror of
https://github.com/opelly27/Y-Cruncher.git
synced 2026-05-20 16:57:34 +00:00
39 lines
1.1 KiB
INI
39 lines
1.1 KiB
INI
// y-cruncher Custom Formula File
|
|
//
|
|
// This can be loaded directly from the Custom Compute menu or
|
|
// entered from the command line as "custom:filename".
|
|
//
|
|
// y-cruncher custom custom:"constant - algorithm"
|
|
//
|
|
//
|
|
// Author: Alexander J. Yee
|
|
// Date: September 29, 2018
|
|
//
|
|
// Value: 3.14159265358979323846264338327950288419716939937510...
|
|
//
|
|
// http://www.numberworld.org/y-cruncher/internals/binary-splitting-library.html#pi_ramanujan
|
|
//
|
|
|
|
{
|
|
NameShort : "Pi"
|
|
NameLong : "Pi"
|
|
AlgorithmShort : "Ramanujan"
|
|
AlgorithmLong : "Ramanujan (1910)"
|
|
Formula : {
|
|
Multiply : [
|
|
{
|
|
SeriesHypergeometric : {
|
|
Power : -1
|
|
CoefficientP : 1
|
|
CoefficientQ : 1103
|
|
CoefficientD : 9801
|
|
PolynomialP : [-3309 -54904 527636 -1231424 844480]
|
|
PolynomialQ : [0 0 0 3073907232]
|
|
PolynomialR : [-3 22 -48 32]
|
|
}
|
|
}
|
|
{Invsqrt : 8}
|
|
]
|
|
}
|
|
}
|