Richard Henderson 7625a1ed01 utils: Use fixed-point arithmetic in qemu_strtosz
Once we've parsed the fractional value, extract it into an integral
64-bit fraction.  Perform the scaling with integer arithmetic, and
simplify the overflow detection.

Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20210315155835.1970210-2-richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2021-03-15 12:47:08 -06:00
..
2020-10-29 06:37:24 +01:00
2020-12-10 17:16:44 +01:00
2020-09-22 15:42:23 +01:00
2021-03-12 11:30:55 +00:00
2020-11-23 13:03:13 +00:00
2021-01-13 10:21:17 +01:00