comparison 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
comparison
equal deleted inserted replaced
207:e0551773a005 208:41ccd50e7cbc
1 int main()
2 {
3 float a = 1.0 + 1;
4 double b = a + 1.0 + 2;
5 real c = b + a + 1e300;
6 c = c * a + a;
7 return c != f();
8 }
9
10 real f();
11