Post Reply 
Check this guy out!
11-02-2024, 08:07 AM
Post: #18
RE: Check this guy out!
Have a look at https://github.com/jjj11x/stc_rpncalc which fits a (decimal) floating point library on an 8-bit 8051 microcontroller with 13k of ROM. The transcendental functions are relatively accurate, other than the trigonometric functions based on the Sinclair Scientific algorithms.

If your goal is to write your own decimal floating point library, an 8-bit microcontroller with a little more flash would be sufficient, although honestly if I were starting a design from scratch, I'd just go with a 32-bit ARM microcontroller. The free GCC or clang compilers are very good. There are also open-source decimal floating point libraries available, for instance see https://sourceforge.net/projects/wp34s/ which uses the IBM decNumber library https://sourceforge.net/p/wp34s/code/HEA...decNumber/

The 15C ROM is incredibly space efficient, but was also coded in assembly targeting a 4-bit microcontroller which was specifically designed for a calculator.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Check this guy out! - Commie - 10-28-2024, 09:07 PM
RE: Check this guy out! - HP67 - 10-29-2024, 07:17 AM
RE: Check this guy out! - AnnoyedOne - 10-29-2024, 11:37 AM
RE: Check this guy out! - vaklaff - 10-29-2024, 12:03 PM
RE: Check this guy out! - agarza - 10-29-2024, 02:02 PM
RE: Check this guy out! - Commie - 10-29-2024, 02:46 PM
RE: Check this guy out! - agarza - 10-29-2024, 03:37 PM
RE: Check this guy out! - Nigel (UK) - 10-29-2024, 04:47 PM
RE: Check this guy out! - Commie - 10-29-2024, 09:29 PM
RE: Check this guy out! - dm319 - 10-29-2024, 11:58 PM
RE: Check this guy out! - AnnoyedOne - 10-30-2024, 01:08 PM
RE: Check this guy out! - RPNerd - 10-30-2024, 10:09 AM
RE: Check this guy out! - Commie - 10-30-2024, 11:16 AM
RE: Check this guy out! - Nigel (UK) - 10-30-2024, 11:47 AM
RE: Check this guy out! - HP67 - 10-30-2024, 12:01 PM
RE: Check this guy out! - Pierre - 10-30-2024, 02:03 PM
RE: Check this guy out! - Commie - 10-30-2024, 02:30 PM
RE: Check this guy out! - jklsadf - 11-02-2024 08:07 AM
RE: Check this guy out! - Commie - 11-05-2024, 08:13 PM



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