1. Accuracy
- Posted by "Lucius L. Hilley III" <luciuslhilleyiii at JUNO.COM> Mar 19, 1997
- 1133 views
I ran some calculator test and have found that an atom is accurate to little more than 50 bits. I also know that an atom doesn't have overflow because it goes into scientific notation and starts rounding off the numbers to be able to handle the size of the number. My test is as follows atom chk chk = 1 for A = 1 to 54 do--Accurate chk = chk + chk ? A printf(1, " %.0f\n", chk) end for -- 9007199254740992 -- + 9007199254740992 -- ------------------ -- 18014398509481984 puts(1, " 18014398509481984\n") --Lucius Lamar Hilley III -- E-mail at luciuslhilleyiii at juno.com -- I support transferring of files less than 64K. -- I can Decode both UU and Base64 format.