[phobos] phobos commit, revision 1553
Andrei Alexandrescu
andrei at erdani.com
Mon May 24 21:28:40 PDT 2010
Great. Yet I still cannot unittest std.math due to the following failures:
// @@@BUG@@@
// f = to!float("1.17549435e-38");
// assert(feq(cast(real)f, cast(real)1.17549e-38));
// assert(feq(cast(real)f, cast(real)float.min_normal));
// f = to!float("3.40282347e+38");
//assert(to!string(f) == to!string(3.40282e+38));
and
// @@@BUG@@@
// r = to!real(to!string(real.min_normal));
// assert(to!string(r) == to!string(real.min_normal));
// r = to!real(to!string(real.max));
// assert(to!string(r) == to!string(real.max));
Then std.functional segfaults :o/.
Thoughts? I'm on the latest Ubuntu 64.
Andrei
On 05/24/2010 11:03 PM, dsource.org wrote:
> phobos commit, revision 1553
>
>
> user: walter
>
> msg:
> add @safe to builtin functions
>
> http://www.dsource.org/projects/phobos/changeset/1553
>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
More information about the phobos
mailing list