adequate_math_precision(n) - phpMan