At some stage you’re going to need floating point arithmetic. It’s hard to do it well, less hard to do it competently, and easy to do it badly. This paper is a must read:
What Every Computer Scientist Should Know About Floating-Point Arithmetic
At some stage you’re going to need floating point arithmetic. It’s hard to do it well, less hard to do it competently, and easy to do it badly. This paper is a must read:
What Every Computer Scientist Should Know About Floating-Point Arithmetic