swdev-git-bisect/get_pi.py

17 lines
538 B
Python
Raw Normal View History

2019-03-29 16:02:55 +01:00
# commit 469
2019-03-29 16:02:55 +01:00
t0 = 3.0 + 0.16666666666666666
2019-03-29 16:02:55 +01:00
t1 = t0 + -0.03333333333333333
2019-03-29 16:02:55 +01:00
t2 = t1 + 0.011904761904761904
t3 = t2 + -0.005555555555555556 # this comment is added to obfuscate git blame
2019-03-29 16:02:55 +01:00
t4 = t3 + 0.0030303030303030303
2019-03-29 16:02:55 +01:00
t5 = t4 + -0.0018315018315018315
2019-03-29 16:02:55 +01:00
t6 = t5 + 0.0011904761904761906
2019-03-29 16:02:55 +01:00
t7 = t6 + 0.4312830065359477
2019-03-29 16:02:55 +01:00
t8 = t7 + 0.0005847953216374269
2019-03-29 16:02:55 +01:00
t9 = t8 + -0.0004329004329004329
2019-03-29 16:02:55 +01:00
t10 = t9 + 0.00032938076416337287
2019-03-29 16:02:55 +01:00
t11 = t10 + -0.0002564102564102564
2019-03-29 16:02:55 +01:00
t12 = t11 + 0.0002035002035002035
2019-03-29 16:02:55 +01:00
t13 = t12 + -0.00016420361247947455
2019-03-29 16:02:55 +01:00
print('%.2f' % (t13))