Your first example makes my brain hurt.  Does it really say 8/0=0?  I would think that it would work the same as for your second (float) example, where blah/0.=inf, 0./0.=nan.