News for hackers. Stuff that matters.
Re:1/0 = 0 (2018) by rsp1984 on Sunday December 01, 2024 @04:24PM (#42290837)
Yea, but conceptually it's a bit smelly to have f(x) get larger and larger the closer x is to 0 and then suddenly have it be 0 once x reaches 0.
Re:1/0 = 0 (2018) by renewiltord on Monday December 02, 2024 @12:13AM (#42293326)
But once you go behind, it flips suddenly anyway so you could just as well have it be intuitively “halfway between the positive and negative infinities” which is at least fun and could spawn a few “Why is 1/x suddenly go to zero” articles on HN in 2053
Re:1/0 = 0 (2018) by _carbyau_ on Monday December 02, 2024 @12:57AM (#42293523)
As others have pointed out "larger and larger" is the same when it is negative too. So I think people are just going: positive infinity + negative infinity = 0.

Intuitively nice in a sense but I honestly think '0' is misrepresenting what is going on here. I'm ok with it being ' "+ and/or -" infinity' as a new definition.

Programmatically I think it should result in a NULL or VOID or similar. I mean, by definition it has no definition.

Re:1/0 = 0 (2018) by rsp1984 on Monday December 02, 2024 @06:42AM (#42295228)
Good point.