Mercurial > projects > dstress
annotate run/float_09.d @ 1619:bebc7472a832
Fix #7.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 07 Nov 2009 18:55:30 +0100 |
parents | f87ba6507260 |
children |
rev | line source |
---|---|
374 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 module dstress.run.float_09; | |
0 | 6 |
7 int main(){ | |
8 float f; | |
9 assert(float.max_exp > float.max_10_exp); | |
10 assert(float.max_exp < double.max_exp); | |
11 assert(float.max_exp == f.max_exp); | |
12 assert(float.max_exp == (2.4f).max_exp); | |
13 return 0; | |
14 } |