Joey
Reputation
Next privilege 125 Rep.
Vote down
 Jul6 awarded Autobiographer May21 revised How come the Euclidian distance for n-space involves only squares? prettier roots May21 suggested approved edit on How come the Euclidian distance for n-space involves only squares? Apr4 comment I have learned that 1/0 is infinity, why isn't it minus infinity? alpha123, in many programming languages (most notable those descending syntax- or semantic-wise from C) 1/0 is interpreted as an integer division where this is indeed an error. If you force floating-point numbers you get the same result you attribute only to Javascript. E.g. 1/0.0 will usually yield positive infinity in those languages. Apr4 comment I have learned that 1/0 is infinity, why isn't it minus infinity? alpha123: That's normal for any system using IEEE 754 floating-point arithmetic, i.e. nearly everywhere that isn't a CAS. Javascript isn't alone in that regard and floating-point arithmetic is a mere approximation of math and thus adheres to other rules (you complain about $x+1=x$ for large $x$, too?) Jan5 awarded Supporter Jul17 awarded Editor Jul17 revised Do addition and multiplication have arity? math formatting Jul17 suggested approved edit on Do addition and multiplication have arity?