This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
SC2 doesnt have infinity values. Floating point data types usually have them, yes, but SC2 uses fixed point arithmetic. And the "fixed" data type is just an integer with 12 bits reserved for decimal places.
Quote:So does 6*0 = 6/(1/0)?
So does 6*0 = 6/(1/0)?
No. 6*0=0.
1/0 is undefined (Not a Number), so 6/(1/0) is undefined as well.
Quote:If there are 6 applies in a basket, and I have 0 baskets, how many apples do I have?
If there are 6 applies in a basket, and I have 0 baskets, how many apples do I have?
Thats multiplication. Not division.
I just cant imagine a situation where deliberate division by zero is desirable. Especially if division by zero causes a thread crash (does it?).
SC2 doesnt have infinity values. Floating point data types usually have them, yes, but SC2 uses fixed point arithmetic. And the "fixed" data type is just an integer with 12 bits reserved for decimal places.
No.
6*0=0.
1/0 is undefined (Not a Number), so 6/(1/0) is undefined as well.
Thats multiplication. Not division.
I just cant imagine a situation where deliberate division by zero is desirable. Especially if division by zero causes a thread crash (does it?).