RPN-PRGM: New Windows console application emulating HP calculators
|
02-22-2021, 02:10 PM
Post: #22
|
|||
|
|||
RE: RPN-PRGM: New Windows console application emulating HP calculators
(02-22-2021 04:40 AM)Aacini Wrote: Another example: We should expect 1e16 = 10.000e15, not 100.00e15 or 9.2234e15 Something is wrong with eng:# conversion. It seems FPUPC:# does not take effect right the way. (If it does, first line and last line should produce the same result) --- I had noticed RPN.exe version 1.0 reduced eng:# to 18 significant digits. Perhaps we can shift eng conversion code to sprintf ? Just break up the number into parts, then join them together. Note: we need to confirm 1 ≤ IP(|mantissa|) < 1000 Example: 1.23e1000 = (12 + .3) * 1e999 → "12.3e999" |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)