Mercurial > projects > dstress
view run/float_litaeral_dec_02.d @ 35:9ac5baf9ac69
added float literal decimal tests
author | thomask |
---|---|
date | Wed, 13 Oct 2004 07:19:54 +0000 |
parents | |
children | 257b7166865f |
line wrap: on
line source
int main(){ float f = 1.2e-3; float a = 12.0; float b = 10000.0; float c = a/b; assert(f == c); assert(f == a/b); return 0; }