Post Reply 
SwissMicros - DM32
08-19-2024, 10:20 PM
Post: #1
SwissMicros - DM32
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

Mike T.

HP21, HP25, HP32E, HP33C, HP34C, HP10C, HP11C, HP12C, HP32S, HP22S
Find all posts by this user
Quote this message in a reply
08-19-2024, 10:34 PM (This post was last modified: 08-19-2024 10:35 PM by c3d.)
Post: #2
RE: SwissMicros - DM32
(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.
Find all posts by this user
Quote this message in a reply
08-20-2024, 12:52 AM
Post: #3
RE: SwissMicros - DM32
(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.

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
Post Reply 




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