java code calculating digits of PI

Anyone have any links to code that does this quickly?

More specifically, I'm looking to calculate the hexadecimal digits quickly. So either do that or calculate base 10 and convert them fast.

[I don't need the Bailey-Borwein-Plouffe Algorithm as I don't want individual digits, I want the first 10,000]

cheers for any help

[357 byte] By [ctmoore] at [2007-9-27 18:47:23]
# 1

For some of the maths (and other links),

http://www.cecm.sfu.ca/pi/piquest/

In c++,

http://pw1.netcom.com/~hjsmith/Pi/PiW.html

http://sourceforge.net/snippet/detail.php?type=snippet&id=100622

Converting number to hex string,

http://sourceforge.net/snippet/detail.php?type=snippet&id=100683

GiddingsR at 2007-7-6 20:07:32 > top of Java-index,Other Topics,Algorithms...
# 2
just wish my math was stronger:(
ctmoore at 2007-7-6 20:07:32 > top of Java-index,Other Topics,Algorithms...