News for hackers. Stuff that matters.
Re:A Million Digits of Pi in 9 Lines of JavaScript by russellbeattie on Thursday September 12, 2019 @10:43PM (#20958697)
I was going to make a joke about just writing Math.PI.toFixed(10 * * 6), but it turns out that Number.toFixed() only supports up to 100 places AND Math.PI stops at the 50th place. Still amusing to me. Also, BigInt numbers can't be combined with non BigInt without conversion. I haven't had cause to use them yet, so I didn't know that.

Learned three new things making a dumb HN joke... not bad!

There are no comments on this comment yet.