Fix valgrind errors

svn path=/trunk/boost/multiprecision/; revision=83519
Fix bug(s) that cause variable reuse in function calls to fail.
Add additional test cases.
Fixes #8326.

svn path=/trunk/boost/multiprecision/; revision=83619
Update revision history, rebuild docs.

svn path=/trunk/libs/multiprecision/; revision=83668