3 ms·
There are fast algorithms for calculating the Nth digit of pi.
by garmaine 8y ago
There are fast algorithms for calculating the Nth digit of pi.
- montenegrohugo 8y agoThe entire 'fun' of this is implementing it with as much of your own code as possible. Using existing fast algorithms only leaves you with splitting the output to the nth digit, which is trivial and leaves you without having learned or achieved anything imo.
- garmaine 8y agoYou can implement the algorithm yourself.