Mercurial > hg > CbC > old > device
view test/cext.c @ 465:cdf827b1fcd9
*** empty log message ***
author | kono |
---|---|
date | Tue, 01 Mar 2005 14:54:15 +0900 |
parents | 0c256ea2a97e |
children | 32737bad7489 |
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("#0010:%d %u\n",k,uk); k = (short) i; uk = (unsigned short) i; printf("#0013:%d %u\n",k,uk); } u = (unsigned) -23432; printf("#0017:%d\n",u/(8048+5)); return 0; }