From: SourceForge.net <no...@so...> - 2007-02-02 12:18:59
|
Bugs item #1650259, was opened at 2007-02-01 21:17 Message generated for change (Comment added) made by earnie You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1650259&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Pending Resolution: None Priority: 5 Private: No Submitted By: RayeR (rayerr) Assigned to: Nobody/Anonymous (nobody) Summary: problem with printf and 64bit integer Initial Comment: I found a bug in printf when printing very large number like this: printf("%llX\n",0x1234567891AULL); 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 ---------------------------------------------------------------------- >Comment By: Earnie Boyd (earnie) Date: 2007-02-02 07:18 Message: Logged In: YES user_id=15438 Originator: NO http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_format_specification_fields_.2d_.printf_and_wprintf_functions.asp ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1650259&group_id=2435 |