commit | e2f422047b6fd04c28630f80ab1161dbce07c6b7 | [log] [tgz] |
---|---|---|
author | Aurelien Jarno <aurelien@aurel32.net> | Wed Apr 20 13:04:22 2011 +0200 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Mon Apr 25 11:18:32 2011 +0200 |
tree | 9e8d1773ccd9f59f866f8d27e19dd28d8885d0e4 | |
parent | da26fdc3145fc990762133beb8ad6bd67742a147 [diff] |
softfloat: fix floatx80 handling of NaN The floatx80 format uses an explicit bit that should be taken into account when converting to and from commonNaN format. When converting to commonNaN, the explicit bit should be removed if it is a 1, and a default NaN should be used if it is 0. When converting from commonNan, the explicit bit should be added. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>