Searching for decimal library for RP Pico
|
08-26-2023, 05:15 AM
Post: #1
|
|||
|
|||
Searching for decimal library for RP Pico
I'm looking for a decimal library that I can use on the raspberry Pi Pico. This microcontroller has 250K or so of RAM and 2M byte of flash.
I've tried the Intel decimal library and that is just too big. Adding the 147000 line file full of constants push it over the limit of flash by 855K bytes. I've also tried libbf which worked fine until I tried 1000 sqrts in a loop and got a memory error. I suspect either a memory leak or fragmentation problems there. I'm not really after arbitrary precision, just a decimal encoding of numbers so that I can code a calculator. A library that has 13-32 digits, or is configurable at compile time and decimal encoding would be perfect. And small enough to fit in a microcontroller and preferably having no malloc() calls. And in C. Andrew |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Searching for decimal library for RP Pico - blackjetrock - 08-26-2023 05:15 AM
RE: Searching for decimal library for RP Pico - Over_score - 08-26-2023, 07:20 AM
RE: Searching for decimal library for RP Pico - blackjetrock - 08-26-2023, 05:14 PM
RE: Searching for decimal library for RP Pico - EdS2 - 08-26-2023, 07:51 AM
RE: Searching for decimal library for RP Pico - blackjetrock - 08-26-2023, 05:17 PM
RE: Searching for decimal library for RP Pico - blackjetrock - 08-31-2023, 01:49 PM
RE: Searching for decimal library for RP Pico - blackjetrock - 08-26-2023, 05:19 PM
RE: Searching for decimal library for RP Pico - ijabbott - 08-26-2023, 09:11 PM
|
User(s) browsing this thread: 1 Guest(s)