function patchedPow(a:Number, b:Number):Number{ return Math.pow(a < 0 ? -a : a, b) * (a < 0 ? -1 : 1); }