diff options
author | Tom Musta <tommusta@gmail.com> | 2014-01-07 17:17:49 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-01-08 19:07:22 +0000 |
commit | fb3ea83aa53cead46465c74ddd1872babe9f4a3e (patch) | |
tree | e7471242bf5232472dbf949528e4ddc420e3f5fe /qapi/string-input-visitor.c | |
parent | c4850f9e1b9cef2ac35cd6e6f3d8d2147787740c (diff) |
softfloat: Fix float64_to_uint64
The comment preceding the float64_to_uint64 routine suggests that
the implementation is broken. And this is, indeed, the case.
This patch properly implements the conversion of a 64-bit floating
point number to an unsigned, 64 bit integer.
This contribution can be licensed under either the softfloat-2a or -2b
license.
Signed-off-by: Tom Musta <tommusta@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'qapi/string-input-visitor.c')
0 files changed, 0 insertions, 0 deletions