<i>"scan NaN %f" returns a list with an empty element</i> status still Open with 4 other changes
by
.
D 2026-07-24T07:58:45.191
J icomment Thanks,\sKai-Uwe,\sfor\sthe\sgreat\shints\sand\sTIP\spointers.\r\nI\shave\sapparently\shit\sa\sdifficult\spoint.\r\nThat\sexplains\swhy\snobody\sadds\scomments.\r\n\r\nBut\sthe\sreason\sof\sthis\sticket\sis\sthe\sreturn\sof\san\slist\swith\san\semty\sstring\selement\sby\r\n\r\n<verbatim>\r\nscan\sNaN\s%f\r\n</verbatim>\r\n\r\nSo,\sNaN\sis\srepresented\shere\sby\sthe\sempty\sstring.\r\n\r\nBut\r\n\r\n<verbatim>\r\nscan\sNaN\s%f\sfl\r\n</verbatim>\r\n\r\ndoes\snot\sscan\sNaN\sas\sthe\sempty\sstring.\r\n\r\nThis\sis\sinconsistent.\r\n\r\nSorry\sto\shear,\sthat\syou\shad\sto\sabandon\sTCL\sdue\sto\smissing\snan\ssupport.\r\nYes,\sthere\sis\snow\sa\s"isnan()"\scommand\swhich\smight\sbe\sthe\sfirst\sstep.\r\n\r\nAnd\sthe\sdocumentation\sof\sscan/format\sdo\snot\smention\s+/-Inf\sneither,\swhich\sworks.\r\n\r\nThanks\sfor\sall,\r\nHarald
J login oehhar
J mimetype text/x-fossil-wiki
J username oehhar
K 62144fdc02ef37b0fcbdbbcd05ffb8375446f536
U oehhar
Z 5549ffc0736ea38cac12a79c036026c5