<i>Require Tcl_WideInt/Tcl_WideUInt to be exactly 64 bits</i> status still Open with 3 other changes
by
.
D 2022-09-17T21:51:56.995
J icomment I\sask\smainly\sin\scase\sit\swould\sbe\snice\sto\sknow\sthat\s<tt>Tcl_WideInt</tt>\sis\sexactly\s64-bit\swhen\swriting\slibrary/extension\scode\s(a\spossibly\smore\sstrict\sguarantee\sthan\sit\sbeing\s<tt>long\slong</tt>),\sbut\seven\swithout\sthis\sguarantee,\sany\sconcerns\sseem\sremote\senough\sfor\sthe\stime\sbeing.\r\n\r\nI\snow\snotice\sthe\sIntObj\sdocumentation\shas\salready\staken\sTIP\s476\sinto\saccount,\sso\sI\sam\sprobably\sjust\sbehind\s(Tcl\s8.6\snot\srequiring\sC99\sprobably\sa\sreason\sfor\sit\sto\savoid\smentioning\s<tt>long\slong</tt>).\sThe\sABI\sstability\srequirement\sshould\salready\sbe\sobvious\sto\sme,\sthough\smaybe\sthat\sis\snot\swhat\sI\sshould\shave\sasked\sabout,\sand\sinstead\sI\sshould\shave\sasked\sabout\s<tt>__int128</tt>\smerely\sas\sa\sconfiguration\soption\sfor\sthose\snot\sconcerned\sabout\sABI\scompatibility\swith\sanything\sbuilt\swith\sTcl\sdefaults.\sBut\sas\slong\sas\scompilers\shave\syet\sto\sprovide\sformat\sspecifiers\sfor\s<tt>__int128</tt>\sthen\sI\sagree\sthere\sisn’t\smuch\sfor\searly\sadopters\sto\stry;\sthey\sare\sprobably\sbetter\soff\sadding\sa\snew\sTcl\svalue\stype\sfor\s<tt>__int128</tt>\sthan\sredefining\s<tt>Tcl_WideInt</tt>.\r\n\r\nI\shad\ssearched\sthis\ssite\sfor\s<tt>__int128</tt>\sbut\swas\snot\slead\sto\sthe\sexisting\sticket.\sI\sam\sfine\swith\sthis\sticket\sbeing\sclosed\sas\se.g.\sduplicate\sor\sout\sof\sdate.
J login chrstphrchvz
J mimetype text/x-fossil-wiki
K 931802a0f552db2e96d2ecf2439bdfb393b49451
U chrstphrchvz
Z 181cf64232911b4f2982b3378dee4a26