I found a bug in printf when printing very large number like this:
it will show only 8 digists 4567891A. Doesn't matter if argument is a constant or variable, also for %LX and %llx I got the same. Also %llu, %lld are truncated.
If I compile the same code under DOS/DJGPP I got always right result.
I use latest mingw packages from oficial website, gcc 3.4.5, bnu 2.16.91
Log in to post a comment.