Lines Matching refs:i
11 int i; in main() local
14 for (i = 0; (i <= 90); i++) in main()
16 basis[i] = cos ((double) i * .0174532925) * scale; in main()
18 for (i = 0; (i < 90); i++) in main()
20 printf ("%d,\n ", cost[i] = basis[i]); in main()
22 for (i = 90; (i < 180); i++) in main()
24 printf ("%d,\n ", cost[i] = -basis[180 - i]); in main()
26 for (i = 180; (i < 270); i++) in main()
28 printf ("%d,\n ", cost[i] = -basis[i - 180]); in main()
30 for (i = 270; (i < 359); i++) in main()
32 printf ("%d,\n ", cost[i] = basis[360 - i]); in main()
38 for (i = 0; (i < 360); i++) in main()
41 val = cost[(i + 270) % 360]; in main()
42 if (i != 359) in main()