Ok, I got this one sorted out - I should have built the latest dmd from
git instead of using the one from the last release.
[email protected](2509): unittest failure
----------------
core.exception.AssertError@std\json.d(459): 1223 should be 1.223e+24
----------------
...
Closer examination shows that this test fails:
f = to!float( "123e+2" );
assert( f == 123e+2f ); //replacing with writeln shows... 123 WTF??!
And then mystery continues as placing writeln in one branch of parse
makes it work again!
(but fills screen with neat column of numbers)
At conv.d:1569
...
while (exp > 0)
{
while (exp >= pow)
{
ldval *= postab[u];
exp -= pow;
writeln(u); // <<<< here!
}
pow >>= 1;
u++;
}
...
--
Dmitry Olshansky
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos