Topic awaiting preservation: Calculation Problem |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: NZ |
posted 05-26-2003 06:06
Hi, guys. How are you? quote:
quote:
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 05-26-2003 06:38
The problem is that some numbers, when represented within the computer as binary numbers, aren't 100% exact. These tiny innacuracies appear when you output the final number. |
Paranoid (IV) Inmate From: NZ |
posted 05-26-2003 07:07
Many many thanks for that, Slime. quote:
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 05-26-2003 07:19
For the same reason that, say, 1/3 can't be represented exactly in decimal form: |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 05-26-2003 19:48
Here's an article about Javascript precision |
Paranoid (IV) Inmate From: NZ |
posted 05-26-2003 23:07
Hi, guys. Good morning. |