changeset 40:257b7166865f

fixed with the help of Burton Radons
author thomask
date Wed, 13 Oct 2004 16:21:31 +0000
parents 6ca37b0d907e
children 84e813a3e99b
files run/float_litaeral_dec_02.d
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/run/float_litaeral_dec_02.d	Wed Oct 13 07:33:32 2004 +0000
+++ b/run/float_litaeral_dec_02.d	Wed Oct 13 16:21:31 2004 +0000
@@ -4,6 +4,6 @@
 	float b = 10000.0;
 	float c = a/b;
 	assert(f == c);
-	assert(f == a/b);
+	assert(f == cast(float)a/b);
 	return 0;
 }