Thomas SMETS
Posts: 307
Nickname: tsmets
Registered: Apr, 2002
|
|
Re: pi programming!!
|
Posted: Apr 8, 2002 2:54 PM
|
|
First you should consider the algorythm you wanna use.
You can then use the BigNumbers. Either java.math.BigDecimal or the java.math.BigInteger.
According to the methods provided on the two classes you will use you can really consider the appropriate algorithme ! This means that to keep the number right (AFAIK), you will have to implement the Tangent / ArcTangente / ... with only these methods.
rgds,
thomas, tsmets @ lautre . net
|
|