<i>lseq "count" argument also dictates output formatting</i> status still Open with 4 other changes
by
.
D 2024-08-30T07:37:59.542
J icomment Dear\sNathan,\sJan,\r\n\r\nplease\sallow\sme\sto\sgive\smy\slimitted\sview:\r\n\r\nIn\sthe\sform\s"lseq\s3.0"\sthe\sargument\s"3.0"\sis\sa\scount\sfor\sa\ssequence.\r\n\r\nThat\sa\scoung\sbeeing\sa\sfloat\sor\san\sentier\sgives\sthe\sfinal\sformat\sis\sIMHO\s"interesting\sfunctionality"\shard\sto\sexplain\sto\san\send\suser.\r\n\r\nFor\sme,\sthis\sfeels\squite\scritical,\sas\sfloat\sand\sentier\swork\squite\sdifferently\sinternally.\sfloat\shave\sroughly\s15\ssignificant\sdigits\swhile\sentier\sis\sunlimited.\r\n\r\nSpecially\shere\sis\sclear\sthat\sthe\scount\sis\san\sentier:\r\n\r\n<verbatim>\r\n%\slseq\s3.5\r\nexpected\sinteger\sbut\sgot\s"3.5"\r\n</verbatim>\r\n\r\nControlling\sthe\stype\sof\sthe\sreturn\svalue\sis\spossible\sby\sthe\s"by"\sclause.\r\nThis\sis\slogical\sand\sok\sfor\sme:\r\n\r\n<verbatim>\r\n%\slseq\s3\sby\s1\r\n0\s1\s2\r\n%\slseq\s3\sby\s1.0\r\n0.0\s1.0\s2.0\r\n</verbatim>\r\n\r\nSo,\sI\swould\ssay,\sthat\s"lseq\s3.0"\sreturning\sfloats\sis\sa\sbug,\sor\sat\sleast,\sa\sfeature\shard\sto\sexplain\sto\sthe\send\suser.\sOr\sdo\sI\smiss\sthe\sbig\spicture?\r\n\r\nThank\syou\sand\stake\scare,\r\nHarald
J login oehhar
J mimetype text/x-fossil-wiki
J username oehhar
K f4a4bd7f107031f273642cbaefc3cbed72315b1f
U oehhar
Z 770fa05ce9e816c390bcbe9f9b2bdf97