Annotation of researchv10no/cmd/lcc/tst/cvt.c, revision 1.1

1.1     ! root        1: signed char c, c1, c2;
        !             2: signed short s;
        !             3: signed int i, i1, i2;
        !             4: unsigned char C;
        !             5: unsigned short S;
        !             6: unsigned int I;
        !             7: float f, f1, f2;
        !             8: double d, d1, d2;
        !             9: 
        !            10: main()
        !            11: {
        !            12:        c=1;     s=c;i=c;C=c;S=c;I=c;f=c;d=c; printf("%d %d %d %d %d %d %f %f\n", c, s, i, C, S, I, f, d);
        !            13:        s=2; c=s;    i=s;C=s;S=s;I=s;f=s;d=s; printf("%d %d %d %d %d %d %f %f\n", c, s, i, C, S, I, f, d);
        !            14:        i=3; c=i;s=i;    C=i;S=i;I=i;f=i;d=i; printf("%d %d %d %d %d %d %f %f\n", c, s, i, C, S, I, f, d);
        !            15:        C=4; c=C;s=C;i=C;    S=C;I=C;f=C;d=C; printf("%d %d %d %d %d %d %f %f\n", c, s, i, C, S, I, f, d);
        !            16:        S=5; c=S;s=S;i=S;C=S;    I=S;f=S;d=S; printf("%d %d %d %d %d %d %f %f\n", c, s, i, C, S, I, f, d);
        !            17:        I=6; c=I;s=I;i=I;C=I;S=I;    f=I;d=I; printf("%d %d %d %d %d %d %f %f\n", c, s, i, C, S, I, f, d);
        !            18:        f=7; c=f;s=f;i=f;C=f;S=f;I=f;    d=f; printf("%d %d %d %d %d %d %f %f\n", c, s, i, C, S, I, f, d);
        !            19:        d=8; c=d;s=d;i=d;C=d;S=d;I=d;f=d;     printf("%d %d %d %d %d %d %f %f\n", c, s, i, C, S, I, f, d);
        !            20: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.