
29 Mar
2010
29 Mar
'10
2:25 a.m.
On 28 March 2010 22:14, Chad Nelson <chad.thecomfychair@gmail.com> wrote:
Technically, 0/0 should be allowed, with a result of 1. I don't know any computer implementation that bothers checking for that and allowing it though.
Please no. As x -> 0, 0/x says it should be 0, x/x says it should be 1, sqrt(x)/x says it should be +infinity. 0/0 is the one that really has to be NaN. Ask your friendly neighbourhood high school calculus teacher for further elaboration.