aboutsummaryrefslogtreecommitdiff
path: root/tests/core/test_array2.in
blob: 452e079281f30e9e5b404692488978774a665a7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdio.h>

static const double grid[4][2] = {{-3 / 3., -1 / 3.},
                                  {+1 / 3., -3 / 3.},
                                  {-1 / 3., +3 / 3.},
                                  {+3 / 3., +1 / 3.}};

int main() {
  for (int i = 0; i < 4; i++)
    printf("%d:%.2f,%.2f ", i, grid[i][0], grid[i][1]);
  printf("\n");
  return 0;
}