4 ms·
Pipe /dev/random, transform to decimal, and you just got an amazing increase in performance for calculating decimals of Pi. Nobody said precision was important
by _jplc 3y ago
Pipe /dev/random, transform to decimal, and you just got an amazing increase in performance for calculating decimals of Pi. Nobody said precision was important anyway.
- segfaltnh 3y agoHonestly if you don't care about precision, /dev/zero is going to give you more throughput. Plus, I personally guarantee it's correct to within an error margin of 4.0. You can't offer the same with /dev/random!
- iudqnolq 3y agoReminds me of the study that found a massive change in GPT's proficiency at identifying primes. It switched from always guessing composite to always guessing prime. Much less accurate.
- ShamelessC 3y agoWhat do you mean?
- DonHopkins 3y agoI always wanted the minor number of the device /dev/zero uses to select the byte you get, so if you go "mknod /dev/seven c 1 7" that would make an infinite source of beeps!
- seanhunter 3y agoWe're not trying to hit a comet with a rocket here. 1 significant figure is more than sufficient for an initial consultation. Any additional accuracy required would be billable follow-on work.