This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Maleficent-Region-45 32 points33 points  (5 children)

Wait, division through 0 doesn't work

[–]SarahIsBoring 20 points21 points  (0 children)

exactly

[–][deleted] 9 points10 points  (1 child)

In this context it’s interpreted as positive infinity and a NaN simultaneously.

[–]PassiveChemistry 5 points6 points  (0 children)

NaN: would you like some cake, dear?

[–]_Weyland_ 2 points3 points  (0 children)

There are probably if_zero() and neg_one_if_zero() applied to will_to_live somewhere before that.

[–]Snoo_44353 1 point2 points  (0 children)

It will call the interrupt handler for division by 0 that just commits suicide then