.
D 2024-12-19T22:09:59.023
J assignee sebres
J icomment There\sare\sseveral\sUBs\sin\shandling\saround\sarith-series\slength\scalculation...\s\r\nFor\sinstance\sif\slarge\sdoubles\swill\sbe\sconverted\sto\swide-integer,\sit\smay\sbecome\struncated,\sbut\sresults\sin\sunexpected\slarge\ssize,\sso\san\sUpdateStringOfArithSeries\smay\senter\sa\scycle\sto\scalculate\sbytelengh\sfor\swrong\snumber\sof\selements,\swhat\sby\sorder\sof\smagnitude\slike\s9223372036854775808\scan\stake\smonths\sto\sestimate\sthe\sbytelength.\sBy\sthe\sway:\sinside\sthe\scycle\sof\s"pass\s1:\sestimate\sspace"\sthe\sbytlen\sis\snot\schecked\swhether\sit\sis\salready\slarger\sthan\smax-possible\sstring,\sso\sthe\sestimation\scycle\smay\scontinue\sup\sto\sthe\send\s(of\senormous\sseries).\r\n\r\nI'll\sfix\sthis\sand\ssimilar\sUBs\sand\sextend\sit\swith\smore\stests.\r\n\r\nHowever\strying\sto\sfind\sall\scorner\scases\sI\sfound\sanother\sissue,\swhat\sdoes\sa\spanic\swith\s"UpdateStringProc\sfor\stype\s'arithseries'\sfailed\sto\screate\sa\svalid\sstring\srep",\sthat\salso\smay\scause\ssporadic\ssegfault,\swhere\san\sin-place\slrange\sfrom\sarith-series\slike\sabove\stook\splace\spreviously.\r\n\r\nWiP.
J login sebres
J mimetype text/x-fossil-wiki
K d2a3c5f80bf47362e2a9ab02152cceadc916ba24
U sebres
Z e264096d394d4221c4b17821a86b64bd