annotate run/f/float_28_D.d @ 1320:daef239f37cf

sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
author thomask
date Sun, 31 Dec 2006 19:59:08 +0000
parents 8e99969d0101
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1113
3362a3aaa580 [Issue 291] assertion
thomask
parents:
diff changeset
1 // $HeadURL$
3362a3aaa580 [Issue 291] assertion
thomask
parents:
diff changeset
2 // $Date$
3362a3aaa580 [Issue 291] assertion
thomask
parents:
diff changeset
3 // $Author$
3362a3aaa580 [Issue 291] assertion
thomask
parents:
diff changeset
4
3362a3aaa580 [Issue 291] assertion
thomask
parents:
diff changeset
5 // @author@ Lionello Lunesu <lio@lunesu.com>
3362a3aaa580 [Issue 291] assertion
thomask
parents:
diff changeset
6 // @date@ 2006-08-18
1320
daef239f37cf sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents: 1162
diff changeset
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=291
1113
3362a3aaa580 [Issue 291] assertion
thomask
parents:
diff changeset
8 // @desc@ [Issue 291] assertion
3362a3aaa580 [Issue 291] assertion
thomask
parents:
diff changeset
9
3362a3aaa580 [Issue 291] assertion
thomask
parents:
diff changeset
10 module dstress.run.f.float_28_D;
3362a3aaa580 [Issue 291] assertion
thomask
parents:
diff changeset
11
3362a3aaa580 [Issue 291] assertion
thomask
parents:
diff changeset
12 int main(){
3362a3aaa580 [Issue 291] assertion
thomask
parents:
diff changeset
13 const float r = real.nan;
3362a3aaa580 [Issue 291] assertion
thomask
parents:
diff changeset
14
1162
8e99969d0101 Re: [Issue 365] New: Regression: Bad code generation for floating point == and !=
thomask
parents: 1113
diff changeset
15 static if(r == 0){
1113
3362a3aaa580 [Issue 291] assertion
thomask
parents:
diff changeset
16 assert(0);
3362a3aaa580 [Issue 291] assertion
thomask
parents:
diff changeset
17 }
3362a3aaa580 [Issue 291] assertion
thomask
parents:
diff changeset
18
1162
8e99969d0101 Re: [Issue 365] New: Regression: Bad code generation for floating point == and !=
thomask
parents: 1113
diff changeset
19 static if(r != 0){
8e99969d0101 Re: [Issue 365] New: Regression: Bad code generation for floating point == and !=
thomask
parents: 1113
diff changeset
20 return 0;
8e99969d0101 Re: [Issue 365] New: Regression: Bad code generation for floating point == and !=
thomask
parents: 1113
diff changeset
21 }
8e99969d0101 Re: [Issue 365] New: Regression: Bad code generation for floating point == and !=
thomask
parents: 1113
diff changeset
22
8e99969d0101 Re: [Issue 365] New: Regression: Bad code generation for floating point == and !=
thomask
parents: 1113
diff changeset
23 assert(0);
1113
3362a3aaa580 [Issue 291] assertion
thomask
parents:
diff changeset
24 }