Searching for decimal library for RP Pico
|
08-31-2023, 01:49 PM
Post: #8
|
|||
|
|||
RE: Searching for decimal library for RP Pico
(08-26-2023 07:51 AM)EdS2 Wrote: Great links - thanks! I found this repository: https://github.com/edwig/BCD/tree/master which has a couple of libraries that looked to be close to what I was after. One is BCD and the other is ICD (Integer Coded Decimal). They are both C++ for some microsoft dialect, so I have mangled the Icd library so that it compiles under Linux and also ported it over to the Pio where it does indeed run. My mangled code is here: https://github.com/blackjetrock/bcd.git This is definitely a mangled work in progress. I've run some quick tests on the Pico and it appears to work. That's the good news. The bad news is that it doesn't do exponents, and so the range is about +/- 1E38 to +/- 1E-38. So almost what I am after. I think it might do. |
|||
« 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: 4 Guest(s)