2 ms·
> There is no expectation that they are inverse or commutative Please. I am not a Ruby coder but I fully expect any language that a + b - b is just a and also
by chx 8y ago
> There is no expectation that they are inverse or commutative
Please. I am not a Ruby coder but I fully expect any language that a + b - b is just a and also a + b - a is just b.
- lifthrasiir 8y agoUh, floating point numbers don't.
- ricardobeat 8y agoThese are not mathematical operators (hence the “overloading”).