by Someone · 3y ago · 0 comments
Edit: also, reading https://stackoverflow.com/a/67919533, it seems you can do
BigFloat(π, precision=20000000)
How does that perform?julia> @time BigFloat(π, precision=20000000); 11.208211 seconds (60.53 k allocations: 2.932 GiB, 0.16% gc time)
Which is pretty good considering I ran this in WSL on my laptop and Mathematica in a different comment took 10 seconds. (Plain Windows took ~26 seconds for some reason?)
What value does that print?
Maybe the allocations were the reason?