Commit Graph

14 Commits

Author SHA1 Message Date
9a6c4572fa float: correctly handle double comparisons 2015-02-03 15:54:55 +11:00
6bf011efa4 float: tighten up almost_equal tolerance 2015-01-29 15:49:57 +11:00
c841aadda0 float: fix negative-zero/zero almost_equal 2015-01-29 15:49:57 +11:00
794a688470 float: almost_equal takes unsigned ULPs 2015-01-29 15:44:30 +11:00
52f53caee5 debug: drop support for CHECK_HARD
HARD vs SOFT assertions were never very well defined or supported.
Currently they just imply a level of functionality that isn't present;
it's better to remove them instead of expending the effort at this
point.
2015-01-28 14:49:34 +11:00
aca28a65e5 float: check comparison ULPs is sensible 2015-01-22 00:24:34 +11:00
b02aa2e568 float: remove debug print 2015-01-22 00:24:24 +11:00
ca6fa4ad3e float: use ULP based comparison 2015-01-21 23:32:06 +11:00
bce3abac40 build: remove implicit type casting warnings 2014-07-02 15:47:53 +10:00
281c1bed99 For floating constants to be of parent floating type 2012-06-13 16:01:42 +10:00
4f5d75a1df Make all check macros uppercase 2012-05-11 12:34:21 +10:00
32e3e61fa7 Fix almost_equal for NaN and Inf 2012-05-03 15:58:18 +10:00
f29cb50ff7 Avoid type punning by using an integer/float union 2011-06-30 21:43:23 +10:00
745e06d1af initial import from waif 2011-05-23 17:18:52 +10:00