comparison run/d/double_27_D.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[] = [double.max, 2.0, 0.5, 1.0]; 20 const double values[] = [double.max, 2.0, 0.5, 1.0];
21 21
22 if(func(values) != double.max){ 22 if(func(values.ptr) != double.max){
23 assert(0); 23 assert(0);
24 } 24 }
25 25
26 return 0; 26 return 0;
27 } 27 }