File: separation_class4.c

package info (click to toggle)
swiftlang 6.1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,791,604 kB
  • sloc: cpp: 9,901,740; ansic: 2,201,431; asm: 1,091,827; python: 308,252; objc: 82,166; f90: 80,126; lisp: 38,358; pascal: 25,559; sh: 20,429; ml: 5,058; perl: 4,745; makefile: 4,484; awk: 3,535; javascript: 3,018; xml: 918; fortran: 664; cs: 573; ruby: 396
file content (22 lines) | stat: -rw-r--r-- 946 bytes parent folder | download | duplicates (38)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
for (int c0 = 0; c0 <= 128; c0 += 1) {
  if (c0 <= 127) {
    if (c0 == 0) {
      for (int c3 = 0; c3 <= 1; c3 += 1)
        for (int c5 = c3 + 58; c5 <= -c3 + 61; c5 += 1)
          S_0(c3, c5);
    } else {
      for (int c2 = 1; c2 <= 2; c2 += 1)
        for (int c3 = max(4 * c0 - 2, 4 * c0 + 6 * c2 - 12); c3 <= min(4 * c0 + 1, 4 * c0 + 6 * c2 - 7); c3 += 1)
          for (int c5 = max(4 * c0 - c3 + 57, -4 * c0 + c3 + 58); c5 <= min(4 * c0 - c3 + 61, -4 * c0 + c3 + 62); c5 += 1)
            S_0(c3, c5);
    }
    for (int c2 = 1; c2 <= 2; c2 += 1)
      for (int c3 = max(4 * c0, 4 * c0 + 6 * c2 - 10); c3 <= min(4 * c0 + 3, 4 * c0 + 6 * c2 - 5); c3 += 1)
        for (int c5 = max(-4 * c0 + c3 + 59, 4 * c0 - c3 + 62); c5 <= min(-4 * c0 + c3 + 63, 4 * c0 - c3 + 66); c5 += 1)
          S_0(c3, c5);
  } else {
    for (int c3 = 510; c3 <= 511; c3 += 1)
      for (int c5 = -c3 + 569; c5 < c3 - 449; c5 += 1)
        S_0(c3, c5);
  }
}