Closed soonhokong closed 8 years ago
There was a problem in strtod
function which parses a char const *
to double
. eglibc (<= 2.16) doesn't honor rounding mode. As a result, some tests fail in Ubuntu-12.04. I've added a custom strtod
function (from 1) as a workaround. Now it works on Ubuntu-12.04.
While testing, I found a case where this custom version is not correct. It violates the invariant lb <= ub
. Possibly it's my mistake, I'm checking things..
Updated to the latest version of dtoa.c
and it seems that it works. When testing finishes, I'll update the repo.
Without this, for example, the following fails:
There are more than one layer to fix:
Enode
- done by f3b79530577ba20ed545cd0052229ba4e75aa3f4