You can use Block[{$MaxExtraPrecision=n},expr] to reset the value of $MaxExtraPrecision temporarily during the evaluation of expr. $MaxExtraPrecision is used implicitly in various exact numerical computations, including equality tests, comparisons, and functions such as Round and Sign.