Post Reply 
Why Error?
05-19-2021, 06:55 PM
Post: #6
RE: Why Error?
(05-19-2021 08:12 AM)toml_12953 Wrote:  ... and why does the same program work on the physical calculator when both the virtual and physical calculators have no other user-defined programs or functions?

Slightly, but not entirely OT:
I once encountered a similar situation when a program that ran smoothly on a real calculator (HP 29C) didn’t do on an emulated one. The program with a separation into individual digits from a fractional number worked fine thanks to the bcd construct of the (earlier) HP machines, but the emulator (on a pc in this case) uses binary, so that f x=y? may not correctly compare f.e. 0.1 from a calculation with 0.1 as a constant value anymore. The program filled the programming space entirely; there was no room for extra steps for a ‘better/safer’ comparison in the emulator.

It took a long time to figure this out, I remember. Learnt to be careful with emulators.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Why Error? - toml_12953 - 05-19-2021, 02:38 AM
RE: Why Error? - Dougggg - 05-19-2021, 03:24 AM
RE: Why Error? - Tim Wessman - 05-19-2021, 03:29 AM
RE: Why Error? - toml_12953 - 05-19-2021, 08:12 AM
RE: Why Error? - Bram - 05-19-2021 06:55 PM
RE: Why Error? - C.Ret - 05-19-2021, 12:23 PM



User(s) browsing this thread: 1 Guest(s)