2 ms·
A few notes: 1. Main feasibility benefit: behaves like IEEE 754 numbers in terms of accuracy. I think you mean "...in terms of allocation and storage" 2. I w
by dnautics 10y ago
A few notes:
1. Main feasibility benefit: behaves like IEEE 754 numbers in terms of accuracy.
I think you mean "...in terms of allocation and storage"
2. I would like to disclaim that posits improve over IEEE 754 precision & accuracy over some value ranges. Over others, it's worse. The argument though is that you're more likely to be using those value ranges than the ones where you want. It's also not nearly 2x. For 64-bits, for example you'll realistically get about 6-7 extra bits of precision around 1. The standard DOES require features like "exact dot product" operation, which can allow you to do things that are "impossible" with the standard 754 spec; for example, exact solutions of systems of linear equations using convergent methods.
The way I've been thinking about it of late, is that floats and posits are a 'lossy compression of the real number line'; posits make better choices about how to compress this information, but there are of course tradeoffs.
The rest of it is great!