4 ms·
Bad idea, better idea: https://en.wikipedia.org/wiki/Logarithmic_number_system https://en.wikipedia.org/wiki/Logarithmic_number_system main advantages: - no
by sprash 7y ago
Bad idea, better idea:
https://en.wikipedia.org/wiki/Logarithmic_number_system https://en.wikipedia.org/wiki/Logarithmic_number_system
main advantages:
- no multiple representations of the same number
- multiplication/division with complexity of addition and subtraction
- hedora 7y agoLNS doesn’t seem to meet either of the goals of DEC64: - Drop-in replacement for signed integer types for loop iteration, array indexes, etc (Exact integer operations for 56 (55?) bit addition and subtraction with 1 cycle overhead; similar efficiency for multiplication) -Drop in replacement for financial fixed point types (which need to be exact in base-10)