On 3/15/21 1:51 PM, Richard Henderson wrote: > 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 <ebl...@redhat.com> > Message-Id: <20210315155835.1970210-2-richard.hender...@linaro.org> > Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
A bit late now that it's in a pull request, but adding Fixes: cf923b783efd5 (utils: Improve qemu_strtosz() to have 64 bits of precision) would have been nice. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org