3 ms·
Isn't that essentially what floats already are? A sum type of numbers, infinities, and NaN(s).
by zokier 8y ago
Isn't that essentially what floats already are? A sum type of numbers, infinities, and NaN(s).
- Someone 8y agoYes and no. I think the OP is looking for a strongly typed language where you can’t do any operation on that sum type, forcing you to check results after every operation.