Mercurial > projects > dang
view tests/code/float_1.d @ 122:2d6556f72afb
float tests
author | Anders Halager <halager@gmail.com> |
---|---|
date | Sun, 25 May 2008 21:03:06 +0200 |
parents | |
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();