Losing the magic
Losing the magic
Posted Dec 6, 2022 17:58 UTC (Tue) by Wol (subscriber, #4433)In reply to: Losing the magic by pizza
Parent article: Losing the magic
And if I've understood the "higher maths" correctly - I'm more a chemist/medical guy by education - the O_PONY I'm asking for is that signed multiplication be a group. Any group, I don't care, so long as when it doesn't overflow the result is what naive arithmetic would expect.
Because, on the principle of least surprise, it's a very unpleasant surprise to discover that multiplying two numbers could legally result in the computer squirting coffee up your nose ... :-)
Is there really anything wrong in asking for the result of computer operations to MAKE SENSE? (No, double-free and things like that - bugs through and through - clearly can't make sense. That's just common sense :-)
Cheers,
Wol
