summaryrefslogtreecommitdiff
path: root/libraries/base/cbits/primFloat.c
Commit message (Collapse)AuthorAgeFilesLines
* A bunch of typofixesGabor Greif2017-09-261-1/+1
|
* Prefer #if defined to #ifdefBen Gamari2017-04-281-1/+1
| | | | Our new CPP linter enforces this.
* Typos in comments [skip ci]Gabor Greif2015-08-031-1/+1
|
* Remove some antiquated C constructsIan Lynagh2011-08-011-10/+10
| | | | | | | | Fixes validate on amd64/Linux with: SRC_CC_OPTS += -Wmissing-parameter-type SRC_CC_OPTS += -Wold-style-declaration SRC_CC_OPTS += -Wold-style-definition
* Fix the behaviour of scaleFloat; part of #3898Ian Lynagh2011-07-311-1/+21
| | | | Patch from Daniel Fischer.
* FIX #2271Daniel Fischer2010-10-181-9/+260
| | | | | | | | | | Faster rounding functions for Double and float with Int or Integer results. Fixes #2271. Since some glibc's have buggy rintf or rint functions and the behaviour of these functions depends on the setting of the rounding mode, we provide our own implementations which always round ties to even. Also added rewrite rules and removed trailing whitespace.
* Updates to follow the RTS tidyupSimon Marlow2009-08-011-0/+261
C functions like isDoubleNaN moved here (primFloat.c)