4 ms·
> Yes, why would you ever want a map with floating point keys? One possible answer: you're in Javascript or something similar. You wanted integer keys, but all
by kazinator 4y ago
> Yes, why would you ever want a map with floating point keys?
One possible answer: you're in Javascript or something similar. You wanted integer keys, but all you have is floating-point numbers.
- metadat 4y agoOr.. convert the integers to string form and use that. Wacky nonsense situation averted.