diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2014-01-07 17:17:49 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-01-08 19:07:22 +0000 |
commit | c4850f9e1b9cef2ac35cd6e6f3d8d2147787740c (patch) | |
tree | 9d38bb3120c49b883cbb151a222a8b7b3e6736de /readline.c | |
parent | 8afbdabac2a1bdc137691c46965ef8c490cb5e44 (diff) |
softfloat: Make the int-to-float functions take exact-width types
Currently the int-to-float functions take types which are specified
as "at least X bits wide", rather than "exactly X bits wide". This is
confusing and unhelpful since it means that the callers have to include
an explicit cast to [u]intXX_t to ensure the correct behaviour. Fix
them all to take the exactly-X-bits-wide types instead.
Note that this doesn't change behaviour at all since at the moment
we happen to define the 'int32' and 'uint32' types as exactly 32 bits
wide, and the 'int64' and 'uint64' types as exactly 64 bits wide.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'readline.c')
0 files changed, 0 insertions, 0 deletions