pet_tree_dump: fix typo in output
[pet.git] / tests / floord2.c
blobafb6a62d7fd87830c32293205fcebb11eb1b41e0
1 #define floord(n,d) (((n)<0) ? -((-(n)+(d)-1)/(d)) : (n)/(d))
3 void foo(int N)
5 int i;
6 int a[N];
8 #pragma scop
9 for (i = 0; i < floord(N, 2); ++i)
10 a[i] = i;
11 #pragma endscop