Decimal floating point to binary floating point
12-28-2018, 03:45 AM
Post: #8
 Dan Member Posts: 162 Joined: Jan 2017
RE: Decimal floating point to binary floating point
(12-26-2018 11:14 AM)Thomas Klemm Wrote:  What exactly are you trying to gain by using $$1.25^N$$ instead of $$10^N$$?
The mantissa in binary is the same, but now you have to deal additionally with powers of 8.

It's one way that came to mind to change 10^N to 2^n, because IEEE 754 binary32 format is (p,e,m) where M*10^N = (-1)^p * (1+m) * 2^e.

I thought to store numbers in IEEE 754 binary64 format, i.e. double precision and write algorithms for +.-,*,/ using the single precision hardware instructions, but I may drop that idea.
 « Next Oldest | Next Newest »

 Messages In This Thread Decimal floating point to binary floating point - Dan - 12-25-2018, 04:06 AM RE: Decimal floating point to binary floating point - Thomas Klemm - 12-25-2018, 08:32 AM RE: Decimal floating point to binary floating point - Albert Chan - 12-25-2018, 11:37 PM RE: Decimal floating point to binary floating point - Dan - 12-26-2018, 07:10 AM RE: Decimal floating point to binary floating point - Paul Dale - 12-26-2018, 07:51 AM RE: Decimal floating point to binary floating point - Dan - 01-03-2019, 06:53 AM RE: Decimal floating point to binary floating point - Dan - 12-26-2018, 08:46 AM RE: Decimal floating point to binary floating point - BruceH - 12-30-2018, 05:46 PM RE: Decimal floating point to binary floating point - SlideRule - 12-30-2018, 11:36 PM RE: Decimal floating point to binary floating point - Thomas Klemm - 12-26-2018, 11:14 AM RE: Decimal floating point to binary floating point - Dan - 12-28-2018 03:45 AM RE: Decimal floating point to binary floating point - Paul Dale - 12-28-2018, 09:33 AM RE: Decimal floating point to binary floating point - Dan - 01-01-2019, 07:27 AM

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