Re:9999999999999999.0 – 9999999999999998.0
by tntn on Sunday January 06, 2019 @02:08PM
(#18839965)
Even if hardware support existed, it seems like a variable length encoding has some inherent overhead relative to a fixed length encoding. If you have a "base length" of e.g. 32 bits and occasionally expand to 64, there's an inherent cost there in both computation and memory, presumably for greater precision. Perhaps that overhead could be minimal with hardware support, but it seems it must have some.
[ Parent
| on HN ]
Re:9999999999999999.0 – 9999999999999998.0
by vanderZwan on Sunday January 06, 2019 @06:07PM
(#18841333)
Those are type one unums, not posits. What you are saying about variable length encoding may be true, but it does not actually apply to the current comparison. Type 2 unums are also fixed length, but have other issues.
'nestorD was discussing the effects and overheads of "dropping the fixed length constraint" in the comment you replied to.
Re:9999999999999999.0 – 9999999999999998.0
by vanderZwan on Monday January 07, 2019 @04:47AM
(#18843983)
Oh darn, you're right. My bad!
In my defense, the comment he replied to got downvoted and I thought it was nestorD, so I was "primed" to misinterpret his comment as criticizing unums in general.