For negative real arguments in the non-gamma form, this function returns thecomplex principal value instead of failing, matching mpmath branch behavior.
Without x1: Newton method with automatic secant fallback when slope isnear zero.Raises MPError::ConvergenceError when the iteration budget is exhausted.
Sequence acceleration entrypoint used by nsum/nprod.
Accepts a sequence of partial sums and returns (estimate, error).Supported methods: auto, levin, l, shanks, euler, sidi,u/v/t (aliases), and richardson / r.
This is the MoonBit counterpart of constructing an mpmath.mp-like runtimestate. prec is binary precision (bits), and rounding controls finalrounding for wrapper operations.