Post Reply 
New firmware for the Swissmicros DM15L
10-17-2024, 08:19 AM
Post: #121
RE: New firmware for the Swissmicros DM15L
(10-16-2024 10:03 PM)Commie Wrote:  
(10-16-2024 07:21 PM)Nigel (UK) Wrote:  What’s the problem with this?

Nigel (UK)

Hi Nigel,

Please tell me which c compilers are available that support bcd floating point format, i.e., not ieee 754 fp.

According to the Swissmicros website, they deploy ieee754 quad 128bit fp in all their calculators.

The Free42, C43, and C47 programs all use IEEE 754 decimal 128. This is a decimal encoding that allows base 10 terminating decimals to be represented exactly, unlike the IEEE 754 binary formats which do not. The compiler(s) used support these numbers through the use of libraries, either the Intel decimal library or the decNumber library.

So if you simply say
Code:
double x; x=0.1;
you’ll have problems because the 0.1 isn’t represented exactly. The programs above don’t do this, because they use decimal types defined by the libraries they include.

Wikipedia tells me that IEEE 754 has supported base 10 encodings since 2008.

I hope this makes my meaning clearer.

Nigel (UK)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: New firmware for the Swissmicros DM15L - Nigel (UK) - 10-17-2024 08:19 AM



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