[Bug 37913] Inconsistent rounding behaviour for sprintf