News for hackers. Stuff that matters.
Re:You can't divide by zero – Garrit's Notes by kazinator on Sunday December 03, 2023 @12:11AM (#38505014)
[delayed]
Re:You can't divide by zero – Garrit's Notes by scatters on Sunday December 03, 2023 @01:02AM (#38505190)

    ceil(0.000001) = 1
    ceil(0) =... 0? Wtf?
But that's a perfectly well defined function. Not every function has to be continuous.
Re:You can't divide by zero – Garrit's Notes by kazinator on Sunday December 03, 2023 @03:58AM (#38505809)
In the first place, not every function has to be defined everywhere.
Re:You can't divide by zero – Garrit's Notes by jjgreen on Sunday December 03, 2023 @07:41AM (#38506659)
Well, if 1/x -> infinity as x -> 0, x > 0, and 1/x -> -infinity as x -> 0, x < 0, then the average of +infinity and -infinity is zero. :-)