News for hackers. Stuff that matters.
Re:How Many Decimals of Pi Do We Really Need? (2016) by gandalf013 on Monday September 28, 2020 @12:24PM (#24618350)
bc calculator doesn't (or didn't) define pi, but has atan. I've used "4*atan(1) method" in bc to get pi.
Re:How Many Decimals of Pi Do We Really Need? (2016) by ape4 on Monday September 28, 2020 @05:43PM (#24621534)
This works, `echo 'scale=100;4*a(1)' | bc -lq`