4 ms·
> Defining it as 0 at least means floating point numbers are (presumably) closed under arithmetic operations, which could be handy. They already are closed. Fl
by tobinfricke 8y ago
> Defining it as 0 at least means floating point numbers are (presumably) closed under arithmetic operations, which could be handy.
They already are closed. Floating point includes Inf and Nan for that reason. :-)
- repsilat 8y agoAh, of course. Still, this definition gets you to something stricter still -- the "things that normal people think of as numbers" are closed under those operations. (Depending on what happens for overflow and 0/0, I guess.)