Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created October 17, 2017 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/b3f625c298b4d4374270044c2afc7b72 to your computer and use it in GitHub Desktop.
Save Whateverable/b3f625c298b4d4374270044c2afc7b72 to your computer and use it in GitHub Desktop.
evalable6
my@f=1.FatRat,*×++$…*; my $FatPi = (1.FatRat / ((2×(1.FatRat,{($_+2/$_)/2}…∞)[11]).FatRat/9801 × (@f[4*$_] × (1103 + 26390×$_) / (@f[$_]⁴×396**(4*$_)) for ^130).sum)); say $FatPi.substr(0, $FatPi.index(‘999999’)+6), ‘ and so on’
3.14159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706798214808651328230664709384460955058223172535940812848111745028410270193852110555964462294895493038196442881097566593344612847564823378678316527120190914564856692346034861045432664821339360726024914127372458700660631558817488152092096282925409171536436789259036001133053054882046652138414695194151160943305727036575959195309218611738193261179310511854807446237996274956735188575272489122793818301194912983367336244065664308602139494639522473719070217986094370277053921717629317675238467481846766940513200056812714526356082778577134275778960917363717872146844090122495343014654958537105079227968925892354201995611212902196086403441815981362977477130996051870721134999999 and so on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment