view test/cext.c @ 384:5fc059f1947d

ARM continue...
author kono
date Wed, 21 Jul 2004 13:52:13 +0900
parents 41ed77cb9c67
children 0c256ea2a97e
line wrap: on
line source


unsigned int u;

main()
{
    int i,k; unsigned uk;

    for(i=-3;i<4;i++) {  
        k = (char) i; 
        uk = (unsigned char) i; 
        printf("%d %u\n",k,uk);
        k = (short) i; 
        uk = (unsigned short) i; 
        printf("%d %u\n",k,uk);
    }
    u = (unsigned) -23432;

    printf("%d\n",u/(8048+5));
    return 0;
}