HP Forums
SwissMicros - DM32 - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: Not HP Calculators (/forum-7.html)
+--- Forum: Not quite HP Calculators - but related (/forum-8.html)
+--- Thread: SwissMicros - DM32 (/thread-22202.html)



SwissMicros - DM32 - Mike T. - 08-19-2024 10:20 PM

If any one actually has one of these I'd be interested to know if it uses decimal of binary arithmetic?
I'm used to the result of the following operations to be zero.
Code:
48
ENTER
47.8
-
0.2
-
Thanks


RE: SwissMicros - DM32 - c3d - 08-19-2024 10:34 PM

(08-19-2024 10:20 PM)Mike T. Wrote:  If any one actually has one of these I'd be interested to know if it uses decimal of binary arithmetic?
I'm used to the result of the following operations to be zero.
Code:
48
ENTER
47.8
-
0.2
-
Thanks

My DM32 is currently running DB48X, but I'm pretty sure the result is zero: both DM32 and DM42 use the Intel decimal floating-point library, specifically the 128-bit data type. That encodes 3 decimal digits on 10 bits, wasting 24 values out of 1024.

DB48X uses a similar trick, but with variable-length encoding, which allows it to compute pi to 400 decimals with ease. And of course, DB48X can be installed on the DM32. And at least on DB48X, I can guarantee with 100% certainty that the above sequence gives you zero.


RE: SwissMicros - DM32 - rprosperi - 08-20-2024 12:52 AM

(08-19-2024 10:20 PM)Mike T. Wrote:  If any one actually has one of these I'd be interested to know if it uses decimal of binary arithmetic?
I'm used to the result of the following operations to be zero.
Code:
48
ENTER
47.8
-
0.2
-
Thanks

Indeed, the answer on a DM32 is 0.00 as it uses the Intel FP library as Christophe explained.