Mercurial > projects > dstress
comparison run/d/double_27_C.d @ 1279:23fe17e22a63
partial review
author | thomask |
---|---|
date | Mon, 25 Dec 2006 15:07:48 +0000 |
parents | 9dcac8d4e97f |
children |
comparison
equal
deleted
inserted
replaced
1278:b644bef333ff | 1279:23fe17e22a63 |
---|---|
17 } | 17 } |
18 | 18 |
19 int main (){ | 19 int main (){ |
20 const double values[] = [0.1e-100, 1.0, -1.0, 0.0]; | 20 const double values[] = [0.1e-100, 1.0, -1.0, 0.0]; |
21 | 21 |
22 if(func(values) != 0.1e-100){ | 22 if(func(values.ptr) != 0.1e-100){ |
23 assert(0); | 23 assert(0); |
24 } | 24 } |
25 | 25 |
26 return 0; | 26 return 0; |
27 } | 27 } |