Use workprec context manager to temporary change mpmath binary precision
Merge pull request #8268 from skirpichev/use-workprec

Use workprec context manager to temporary change mpmath binary precision