Free42 with IEEE 754-2008 decimal floating-point -- interested in a sneak preview?
|
03-18-2014, 07:16 AM
Post: #86
|
|||
|
|||
RE:Free42 with IEEE 754-2008 decimal floating-point -- interested in a sneak preview?
(03-17-2014 01:29 PM)Thomas Okken Wrote: In order to make sure LOG doesn't just return exact results for exact powers of 10, but also satisfies This is not possible. On a real 42S, LOG(9.99999999999) = 1, exactly. Meaning it is the closest number to the exact result. The same holds for any precision. On Free42 Decimal-34, LOG(1e34-1) is 34 and LOG(1e33-1) is 33, exactly, and that's what the result should be. Extracting the exponent should rather be done dividing by the mantissa, that can be determined as follows (thanks to Dieter): Code:
Werner 41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE,DM15L,12C,16CE |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)