15 Replies
sunny-green•15mo ago
numbers? in this economy?
rival-blackOP•15mo ago
for example n / 0 if n is more than zero is infinity, n / 0 if n is less than zero is -infinity
like oopsie u now have infinite ruecoins
rival-blackOP•15mo ago
no wait dividing by -0 inverts the sign
dividing by 0 doesnt
:moji_despair:
lol

rival-blackOP•15mo ago
yeah
0/0 is NaN
are there any other cases where 0 doesnt equal -0 like this :O
correct-apricot•15mo ago
what is most buggest mod at sandboxel?
rival-blackOP•15mo ago
Infinity/Infinity is also NaN
and so is Infinity-Infinity
inf+inf = inf tho
sunny-green•15mo ago
if it's an indeterminate form tl;dr NaN i think
rival-blackOP•15mo ago
and the same thing happens with inf * inf
something about this doesnt seem right

sunny-green•15mo ago
hmm
rival-blackOP•15mo ago
dividing any non-zero number by -0 gives you Infinity with an opposite sign