www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: Wish: Variable Not Used Warning

 $ python -c "print -10/-5"

 Uhh, I think your method of entry was wrong.  It's +2.
 Y'know I don't think this problem was meant to
 require a calculator...

No, i don't much work with negative numbers; It wasn't until 3 minutes after i posted, i tried to do another negative division, to see it's reaction, only to realize when i did 100 / -3, and it was 97. M$ Calc said 'oh, you meant minus, not divide' and my result was utterly wrong. My bad on that part.
Jul 11 2008