annotate run/float_25.d @ 1597:8b9d4d2f925a

Fix typos in complex tests. See D bug 614.
author Christian Kamm <kamm incasoftware de>
date Tue, 09 Sep 2008 16:53:58 +0200
parents b8c0195059d9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
425
thomask
parents:
diff changeset
1 // $HeadURL$
thomask
parents:
diff changeset
2 // $Date$
thomask
parents:
diff changeset
3 // $Author$
thomask
parents:
diff changeset
4
thomask
parents:
diff changeset
5 // @author@ zwang <nehzgnaw@gmail.com>
thomask
parents:
diff changeset
6 // @date@ 2005-04-12
1489
b8c0195059d9 changed nntp: URLs to http: URLs
thomask
parents: 425
diff changeset
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=3624
425
thomask
parents:
diff changeset
8
thomask
parents:
diff changeset
9 module dstress.run.float_25;
thomask
parents:
diff changeset
10
thomask
parents:
diff changeset
11 int main(){
thomask
parents:
diff changeset
12 float a=0f;
thomask
parents:
diff changeset
13 float i=1f;
thomask
parents:
diff changeset
14 assert(i==1f);
thomask
parents:
diff changeset
15 i=a/a;
thomask
parents:
diff changeset
16 assert(i !<>= i.nan);
thomask
parents:
diff changeset
17 return 0;
thomask
parents:
diff changeset
18 }
thomask
parents:
diff changeset
19