<i>tclStrToD can fail with -ftrapv compiler option</i> status still Open with 3 other changes
by
.
D 2023-08-15T07:41:07.817
J icomment <blockquote>c\s-\s'0'\sonly\soverflows\swhen\sc\s<\s-0x50.</blockquote>\r\n\r\nSorry,\sthis\sis\swrong.\s<tt>c\s-\s'0'</tt>\scannot\soverflow\sat\sall,\sbecause\s<tt>'0'</tt>\sby\sitself\sis\s<tt>int</tt>\swhich\scauses\s<tt>c</tt>\sto\sbe\spromoted,\sand\s<tt>c</tt>\sregardless\sof\ssignedness\scannot\sbe\sin\sthe\srange\s<tt>[INT_MIN,INT_MIN+'0')</tt>\swhich\sare\sthe\sonly\svalues\sthat\swould\slead\sto\soverflow.\sThe\smystery\sremains.
J login chrstphrchvz
J mimetype text/x-fossil-wiki
K 3d3124d01dabb46584e39877d44802bf5e8f4952
U chrstphrchvz
Z dc203884f634fd29915684bf329487ff