File: reservoir-bastoul3.c

package info (click to toggle)
isl 0.12.2-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 9,164 kB
  • ctags: 6,976
  • sloc: ansic: 86,111; sh: 11,923; python: 1,907; cpp: 593; makefile: 352; perl: 9
file content (3 lines) | stat: -rw-r--r-- 141 bytes parent folder | download | duplicates (45)
1
2
3
for (int c0 = 3; c0 <= 9; c0 += 1)
  for (int c1 = max(c0 - 6, -(c0 % 2) + 2); c1 <= min(3, c0 - 2); c1 += 2)
    S1(c0, c1, (c0 - c1) / 2);