3 ms·
Converting floating-point numbers to integers while preserving order
- dekhn 6y agoI've seen several versions of this; in one case, database keys were the concatenation of several fields, each of which had been converted to order-preserving integers. The concatenations themselves can be sorted, which is very useful. I'm not sure if there's an official term for this (ordered code?)