Recent content by Priha

  1. P

    Calculating Pi in Binary: How Many Decimals Do I Need?

    Thanks for the answer greathouse And to Hurkyl I used Java's BigDecimal class to calculate it. So no floats or doubles used. And yes I meant precise (English is not my native language). I , as you said, am translating the decimal string directly into binary. I'm dividing the string with 2^n and...
  2. P

    Calculating Pi in Binary: How Many Decimals Do I Need?

    My first topic here. Here goes I've written a small program that first calculates pi in decimal and then changes it into binary. But as you know there's no accurate binary presentation even for 0.1 so I just can't change the whole 20000 decimal representation of pi into binary. I there for...
Back
Top