I'm looking for a FAST way to calculate X digits of pi in hexadecimal without using any external libraries (i.e. APFloat, etc.).
Currently I've found code for extracting any specific digit of pi in hexadecimal (using the BBP formula, I believe), but using this code to compute even 1000 digits of pi is SLOW.
Thanks in advance.