.
D 2024-12-20T16:40:23.362
J icomment The\sUB\sis\sUB\sand\sthat\ssays\severything...\ssometimes\scompilers\sbehaves\sas\sthe\sdeveloper\sexpects,\ssometimes\s-\snot.\r\nWhat\syou\sare\scalling\strivial,\sis\sbasically\snot\sso\s-\sthe\stest\sspeculates\s(quite\srightly)\sthat\sthe\sseries\sare\ssmall\sand\stherefore\sthe\scycles\sof\sUpdateStringOfArithSeries\swill\sbe\sshort\sand\sit\sruns\sfast.\sBut\severything\schanges\sif\sit\sgets\saffected\sby\sthe\sUB\s(for\swhatever\sreason\sit\shappens,\seven\sby\sa\scompiler\s"bug"\son\ssome\scircumstances).\r\nAnyway,\swhat\syou\ssee\sis\san\safter-effect\sand\sit\sis\scaused\sby\sfailed\sconversion\sfor\slen\sof\sdoubles\s<i>start\s-\send</i>\sand/or\sthe\sdouble\s<i>step</i>.\sThe\sevidence\sfor\sthat\sis\sthere\s-\sthe\sseries\swith\sgiven\sstep/len\slike\sin\stest\s<i>[lseq\s{1e50+0}\s{1e50+1}\s1]</i>\s(with\sgiven\sstep),\sas\swell\sas\ssuch\swith\s<i>count</i>\sargument\sdon't\scause\sa\shang.\r\n\r\nHowever\sas\salready\swrote,\sbesides\sthis\sissue,\sI\sfound\smany\sothers,\sinclusive\sSF,\spanics\s(because\sof\snot\scorrect\stype\sbehaviour\sin\scallbacks),\sand\spossible\snumeric\sinstability.\sAnd\sthe\snumber\sof\sthem\sgrows\swith\salmost\severy\snew\stest,\sI\sprovide.
J login sebres
J mimetype text/x-fossil-wiki
K d2a3c5f80bf47362e2a9ab02152cceadc916ba24
U sebres
Z 3223bfdb25325f1ac61d8204a2d9c192