Mercurial > projects > dstress
annotate run/float_12.d @ 1630:d0efa3ae5522 default tip
run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author | David Nadlinger <code@klickverbot.at> |
---|---|
date | Sat, 23 Apr 2011 22:57:32 +0200 |
parents | f87ba6507260 |
children |
rev | line source |
---|---|
374 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 module dstress.run.float_12; | |
0 | 6 |
7 int main(){ | |
8 float f; | |
9 assert(float.max > 0xFFFFFFF); | |
10 assert(float.max < double.max); | |
11 assert(float.max < float.infinity); | |
12 assert(float.max == f.max); | |
13 assert(float.max == (2.4f).max); | |
14 return 0; | |
15 } |