if what I'm hearing is correct, doesn't the existance of these two formulas make pi rational.

This is a discussion on *BBP and Bellard's formula* within the **A Brief History of Cprogramming.com** forums, part of the Community Boards category; if what I'm hearing is correct, doesn't the existance of these two formulas make pi rational....

- 06-14-2002 #1
## BBP and Bellard's formula

if what I'm hearing is correct, doesn't the existance of these two formulas make pi rational.

- 06-14-2002 #2

- Join Date
- Sep 2001
- Posts
- 4,913

I don't know what the formulas are, but how can you make in irrational number rational?

- 06-14-2002 #3

- Join Date
- Aug 2001
- Location
- Groningen (NL)
- Posts
- 2,386

This formula makes it possible to calculate the n-th digit of pi if n is smaller than or equal to 1000, without having to know the former digits. But that doesn't imply that it makes pi a rational number. A number is rational if it can be written as a fraction, N/M. There are methods to approximate pi very well as a fraction, so perhaps it is a near-rational number.

- Exactly how to get started with C++ (or C) today
- C Tutorial
- C++ Tutorial
- 5 ways you can learn to program faster
- The 5 Most Common Problems New Programmers Face
- How to set up a compiler
- 8 Common programming Mistakes
- What is C++11?
- Creating a game, from start to finish

- How to create a shared library on Linux with GCC - December 30, 2011
- Enum classes and nullptr in C++11 - November 27, 2011
- Learn about The Hash Table - November 20, 2011
- Rvalue References and Move Semantics in C++11 - November 13, 2011
- C and C++ for Java Programmers - November 5, 2011
- A Gentle Introduction to C++ IO Streams - October 10, 2011