fixed version
[libfirm] / ir / be / test / apfel_readable.c
1 #include <stdio.h>
2
3 float o=0.075,h=1.5,T,r,O,l,I;
4 int _,L=80,s=3200;
5
6 int main(int argc, char *argv[]){
7         for (; s;) {
8                 if (s%L == 0) {
9                         h -= o;
10                         T = -2;
11                 }
12
13                 O = I*2*O+h;
14                 I = l+T-r;
15                 if (4 -(r=O*O)<(l=I*I) | ++_==L) {
16                         int index = --s%L ? (_ < L ? --_ %6:6) : 7;
17                         char c = "Sascha \n"[index];
18                         putchar(c);
19                         O = I = l = _ = r = 0;
20                         T += o/2;
21                 }
22         }
23         return 0;
24 }