mod($base, $mod); return bcpowmod($base, $exp, $mod, 0); } #[Override] public function sqrt(string $n): string { return bcsqrt($n, 0); } }