3 ms·
It'd be interesting to compare the speed with a Spigot algorithm (http://en.wikipedia.org/wiki/Spigot_algorithm http://en.wikipedia.org/wiki/Spigot_algorithm ),
by userbinator 12y ago
It'd be interesting to compare the speed with a Spigot algorithm (http://en.wikipedia.org/wiki/Spigot_algorithm http://en.wikipedia.org/wiki/Spigot_algorithm ), which requires only faster fixed-precision operations instead of the multi-precision division he used; there's a very small C program here which does that:
http://wiki.tcl.tk/6636 http://wiki.tcl.tk/6636