Large displays with 1 combinator per row are really easy now. Yeah.
For those, who hasn't understood how it works (like me), I wrote this little tool (C code, 32bit int, q&d) that helped me to open my eyes.
Thanks, XKnight.
Code: Select all
#include <stdio.h>
int main()
{
    int c = 1;
    int i = 0;
    int in = 0;
    int tmp = 0;
    int bit = 0;
    do
    {
        printf("In: ");
        scanf("%d", &in);
        if(in == 0) break;
        c = 1;
        for(i = 32; i > 0; i--)
        {
            tmp = c * in;
            bit = (tmp < 0);
            printf("%2d: %11d -> %11d = %d\n", i, c, tmp, bit);
            c = c * 2;
        }
    } while(1);
    return 0;
}




