N
Noah Roberts
I'm a little confused. Reading this site:
http://www.devx.com/cplus/10MinuteSolution/30891/1954
I would guess that I lose precision after 15 digits. However, when I
put PI as a constant in my code as:
3.1415926535897932384626433832795 (copied from MS calc)
it doesn't even cause a warning. That's well more than 15 digits.
What's the compiler going to do with this?
http://www.devx.com/cplus/10MinuteSolution/30891/1954
I would guess that I lose precision after 15 digits. However, when I
put PI as a constant in my code as:
3.1415926535897932384626433832795 (copied from MS calc)
it doesn't even cause a warning. That's well more than 15 digits.
What's the compiler going to do with this?