commit | 45fdcf1c6583e4af380b147ac568f5aa721b7ba8 | [log] [tgz] |
---|---|---|
author | John Hauser <jhauser@eecs.berkeley.edu> | Mon Feb 22 15:51:12 2016 -0800 |
committer | John Hauser <jhauser@eecs.berkeley.edu> | Mon Feb 22 15:51:12 2016 -0800 |
tree | 844650fe6e692766e725deaed8149125895cbc4b | |
parent | 9dc9d10297e1d43e10188b5b19e2b697216fba2b [diff] |
Added the ability to specify the result values delivered when conversions from floating-point to an integer format raise an invalid exception. For the provided specializations (8086 and RISC-V), changed the result of converting a negative floating-point value to an unsigned integer format to now be zero. (Also renamed `shiftCount' inside functions to `shiftDist'.)
John R. Hauser
2015 October 23
Berkeley SoftFloat is a software implementation of binary floating-point that conforms to the IEEE Standard for Floating-Point Arithmetic. SoftFloat is distributed in the form of C source code. Building the SoftFloat sources generates a library file (typically softfloat.a
or libsoftfloat.a
) containing the floating-point subroutines.
The SoftFloat package is documented in the following files in the doc
subdirectory:
Other files in the package comprise the source code for SoftFloat.