All Questions
1 question
5
votes
2
answers
510
views
Trivially Sortable Encoding for Arbitrary-Precision Decimals
I'm looking for a reasonably(*) space-efficient way to encode arbitrary-precision decimals (e.g. BigDecimal), such that when sorting the bit-pattern of the encodings lexicographically, the numbers ...