summaryrefslogtreecommitdiff
path: root/libraries/integer-gmp/cbits/float.c
Commit message (Collapse)AuthorAgeFilesLines
* Drop old integer-gmp-0.5 from GHC source treeHerbert Valerio Riedel2015-03-311-249/+0
| | | | | | | | | | | | | | | | | | This completes what c774b28f76ee4c220f7c1c9fd81585e0e3af0e8a (#9281) started. `integer-gmp-1.0` was added as an additional `libraries/integer-gmp2` folder while retaining the ability to configure GHC w/ the old `integer-gmp-0.5` to have a way back, and or the ability to easily switch between old/new `integer-gmp` for benchmark/debugging purposes. This commit removes the old `libraries/integer-gmp` folder and moves `libraries/integer-gmp2` into its place, while removing any mentions of "gmp2" as well as the to support two different `integer-gmp` packages in GHC's source-tree. Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D769
* Introduce new SIZEOF_MP_LIMB_T derived constantHerbert Valerio Riedel2014-01-161-9/+2
| | | | | | | | This allows to simplify code in `float.c` and to encode the "sizeof(mp_limb_t) != sizeof(W_)" assumption as a compile-time assertion. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
* Eliminate intermediate overflow for encodeFloat, fixes #5524Daniel Fischer2011-10-011-4/+90
|
* Untabify cbits/float.cDaniel Fischer2011-10-011-35/+35
|
* Update to follow RTS tidyp changesSimon Marlow2009-08-011-0/+2
|
* Implement the gmp primops in the integer-gmp package using cmmDuncan Coutts2009-06-131-2/+64
|
* Add __encodeDouble and __encodeFloatDuncan Coutts2009-06-111-0/+106
Moved here from the rts.