ShrinkUrl: Retry shrinking twice if it fails.
Math: As unit conversion algorithm fails with high precision, make significant digits matter.
Math: Fix tests to allow higher precision.
Fix locales path resolution with Python 3.
Math: Fix rounding.