diff tests/code/float_2.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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/code/float_2.d	Sun May 25 21:03:06 2008 +0200
@@ -0,0 +1,8 @@
+int main()
+{
+    float a = 1.0 + 1;
+    double b = a + 1.0 + 2;
+    b = 1 + a;
+    return 0;
+}
+