Yet more printing of type sizes (no surprises yet).

This commit is contained in:
Dan Buch 2011-10-28 08:34:28 -04:00
parent 59d68e04c8
commit 418a1264c6

14
ex21.c
View File

@ -29,5 +29,19 @@ int main(int argc, char *argv[])
printf("INT64_MIN = %d\n", INT64_MIN); printf("INT64_MIN = %d\n", INT64_MIN);
#endif #endif
printf("sizeof(int_least8_t) = %d\n", sizeof(int_least8_t));
printf("sizeof(int_least16_t) = %d\n", sizeof(int_least16_t));
printf("sizeof(int_least32_t) = %d\n", sizeof(int_least32_t));
#if defined(_M_X64) || defined(__amd64__)
printf("sizeof(int_least64_t) = %d\n", sizeof(int_least64_t));
#endif
printf("sizeof(uint_least8_t) = %d\n", sizeof(uint_least8_t));
printf("sizeof(uint_least16_t) = %d\n", sizeof(uint_least16_t));
printf("sizeof(uint_least32_t) = %d\n", sizeof(uint_least32_t));
#if defined(_M_X64) || defined(__amd64__)
printf("sizeof(uint_least64_t) = %d\n", sizeof(uint_least64_t));
#endif
return 0; return 0;
} }