[Bug 3646] New: Incorrect formatting of floating-point values via *printf if precision = 0

Wine Bugs wine-bugs at winehq.org
Mon Oct 24 02:50:27 CDT 2005


http://bugs.winehq.org/show_bug.cgi?id=3646

           Summary: Incorrect formatting of floating-point values via
                    *printf if precision = 0
           Product: Wine
           Version: 20050725
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: wine-winelib
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: e-aksenov at yandex.ru


*printf family funtions from msvcrt.dll ignores zero precision in the format
For example, for valule = 0.123456 and printf( "%0f", val ) 
Expected result: 0, real result: 0.123456 

dlls/msvcrt/wcs.c ( pf_rebuild_format_string(), line 382 )

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list