RPN-PRGM: New Windows console application emulating HP calculators
|
02-02-2021, 03:19 AM
Post: #15
|
|||
|
|||
RE: RPN-PRGM: New Windows console application emulating HP calculators
We can produce more accurate 10^Exp with more bits for log2(10):
log2(10) = 0x3.5269e12f346e2bf924afdbfd36bf6d ... Code: -- k1 + k2 = rounded 95-bits of log2(10) lua> for i=-300,300,100 do print(i, pow10(i)) end -300 1e-300 -200 1e-200 -100 1e-100 0 1 100 1e+100 200 1e+200 300 1e+300 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)