>>56
Find me an implementation where sizeof(intmax_t) > sizeof(long double).
He(she?) didn't specify the compile options, I tested the code and it works with GCC on a system where sizeof(long double)=12 and sizeof(intmax_t)=8. Including inttypes.h will give you strtoimax(), and as long as libc is C99 compliant it will have the functions as well. >>52 never said anything about what the program should return, so that is irrelevant.