Post Reply 
Re: Arduino HP-25 Simulator
04-02-2022, 03:12 AM
Post: #5
RE: Re: Arduino HP-25 Simulator
Changing the processor is unlikely to make a difference. The C types float and double don't change -- they are generally IEEE 754 binary reals. The performance will vary but not the accuracy.

Calculators use decimal arithmetic, you need a decimal big number library or an arbitrary precision floating point library. Or, as Tony mentioned, a emulation of HP's firmware.

If you want some code to lift, try the WP 34S project which has a pretty reasonable decimal floating point library. It is also quite accurate and requires little RAM but it isn't fast.


Pauli

[disclaimer: I authored most of the WP 34S mathematical code, so I might be slightly biassed]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Re: Arduino HP-25 Simulator - teenix - 03-23-2022, 08:00 AM
RE: Re: Arduino HP-25 Simulator - TellyS - 03-23-2022, 03:28 PM
RE: Re: Arduino HP-25 Simulator - TellyS - 04-01-2022, 07:44 PM
RE: Re: Arduino HP-25 Simulator - Paul Dale - 04-02-2022 03:12 AM
RE: Re: Arduino HP-25 Simulator - TellyS - 04-02-2022, 03:33 PM
RE: Re: Arduino HP-25 Simulator - TellyS - 04-02-2022, 03:29 PM



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