view tests/code/float_1.d @ 208:41ccd50e7cbc

Added missing tests
author Anders Johnsen <skabet@gmail.com>
date Tue, 12 Aug 2008 18:21:06 +0200
parents 2d6556f72afb
children
line wrap: on
line source

int main()
{
    float a = 1.0 + 1;
    double b = a + 1.0 + 2;
    real c = b + a + 1e300;
    c = c * a + a;
    return c != f();
}

real f();