diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2011-01-17 19:29:33 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-01-20 12:37:20 +0100 |
commit | de4af5f7928bb68d4e2b576598c245a256fcabbb (patch) | |
tree | 28f61bf68e68ab04c79f5edc5751cfa31e38de51 /qemu-img-cmds.hx | |
parent | 3a34dfd7f600e235687fece76b8f763362b883b2 (diff) |
softfloat: fix floatx80_is_{quiet,signaling}_nan()
floatx80_is_{quiet,signaling}_nan() functions are incorrectly detecting
the type of NaN, depending on SNAN_BIT_IS_ONE, one of the two is
returning the correct value, and the other true for any kind of NaN.
This patch fixes that by applying the same kind of comparison as for
other float formats, but taking into account the explicit bit.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'qemu-img-cmds.hx')
0 files changed, 0 insertions, 0 deletions