rounding 2nd arg for math.pow test (it does not like negatives raised to non-integers)