Mercurial > hg > CbC > old > device
view test/cext.c @ 746:f8ea174944f2
i64 continue... global table have to be fixed.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Nov 2010 22:19:55 +0900 |
parents | a379da780856 |
children | 2a4a40168fa4 |
line wrap: on
line source
int printf(const char *format, ...); unsigned int u; main() { int i,k; unsigned uk; for(i=-3;i<4;i++) { k = (char) i; uk = (unsigned char) i; printf("#0011:%d %u\n",k,uk); k = (short) i; uk = (unsigned short) i; printf("#0014:%d %u\n",k,uk); } u = (unsigned) -23432; printf("#0018:%d\n",u/(8048+5)); return 0; }