aida0710 / leibniz-pi-php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

leibniz-pi-php

計算精度

参照元 : https://www.tstcl.jp/ja/randd/pi.php
正解(有効数字25桁抜粋) : 3.141592653589793238462643

ライプニッツ級数 -> 1億
Results : 3.1415926435893
Calculation time: 2.4233629703522 seconds
有効数字9桁以降間違い : 3.1415926435893

ライプニッツ級数 -> 100億
Results : 3.1415926534883
Calculation time: 230.28414201736 seconds
有効数字11桁以降間違い : 3.1415926534883

About


Languages

Language:PHP 100.0%