<i>"format" does not handle floating point numbers consistently</i>.
by
.
D 2000-10-26T01:01:30
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s788\sBug\nVersion:\s8.0\nSubmitDate:\s'1998-11-02'\nLastModified:\s'1999-09-15'\nSeverity:\sLOW\nStatus:\sReleased\nSubmitter:\sstanton\nChangedBy:\shobbs\nRelatedBugIDs:\s916\nOS:\sAll\nOSVersion:\sNA\nMachine:\sNA\nFixedDate:\s'1999-09-15'\nFixedInVersion:\s8.1.1\nClosedDate:\s'2000-10-25'\n\n\nThere\sare\sa\snumber\sof\stests\sin\sthe\sTcl\stest\ssuite\sthat\sare\sflagged\sas\s"eformat"\sto\sindicate\sthat\sthey\swill\sfail\son\sWindows\sunder\sVisual\sC++\s(there\sare\sseveral\sin\sformat.test).\s\sThese\sfailures\sare\sdue\sto\sa\squestionable\simplementation\sof\ssprintf\sby\sMicrosoft.\s\sIn\sparticular\s%g\sbehaves\sbadly\sif\sthe\sleading\sdigit\sis\sa\szero\s(it\sdisplays\stoo\smany\ssignificant\sdigits),\sand\s%e\s%f\s%g\sall\sdisplay\stoo\smany\sdigits\sfor\ssmall\sexponent\svalues.\n\n\n\nThe\sonly\sreal\ssolution\sis\sto\shave\sour\sown\simplementation\sof\ssprintf,\sbut\sit\sis\shard\sto\swrite\sa\sportable\sfloating\spoint\simplementation.\n--\nid\s916\shas\sa\sfix\sfor\sMSVC,\sbut\sit\sis\snot\sreally\sa\sproblem\sserious\nenough\sto\sworry\sabout.\s\n--\s08/14/1999\shobbs\n\n
J foundin obsolete:\s8.0
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title "format"\sdoes\snot\shandle\sfloating\spoint\snumbers\sconsistently
J type Bug
K 218512ffffffffffffffffffffffffffffffffff
U nobody
Z 6c272eb6712d5a79ab38c4f927c0e948