Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: Constants and undefined behavior Date: Sun, 21 Jun 2026 15:26:35 -0700 Organization: A noiseless patient Spider Lines: 26 Message-ID: <868q878r8k.fsf@linuxsc.com> References: <10v7b32$2u85v$1@dont-email.me> <10vt7b9$pi3s$1@kst.eternal-september.org> <110032s$clq$1@reader1.panix.com> <1100g0e$1lt8i$1@kst.eternal-september.org> <11058u3$mv5$1@reader1.panix.com> <1107q1e$ccfa$1@paganini.bofh.team> <110eht5$1naub$5@dont-email.me> <110enrj$15fs1$1@paganini.bofh.team> <110f05e$1nauc$8@dont-email.me> <110fqco$1ck3s$3@paganini.bofh.team> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Sun, 21 Jun 2026 22:26:36 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1171961"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/gTh71otv/qwU0V3S7WGUIGXHQPaTv12s="; posting-host="2b3d50cfcc30094bddf35dd8855beef6" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:FJASNRfvbFlpjBISLpcAV/tU0JQ= sha1:inuIYgLBTJRnL3gCy3F6dtxuNdA= sha256:Dn2shO/DJiD0jzNkOOYYY/lXXOG3LpvlO933iQasLto= sha1:lihUk6t6GYSu3Oa/XEybYzKbpiE= Xref: csiph.com comp.lang.c:400176 antispam@fricas.org (Waldek Hebisch) writes: [...] > I think that lawyerish style of current C standard is mostly > inertia, I wouldn't use a term like lawyerish to describe the text in the ISO C standard. Can you explain what quality you mean to ascribe to "lawyerish" writing in the C standard without using any term related to lawyering or legal documents? > and making standard more mathematical would improve it. Could you elaborate on that statement? In what ways would giving a more mathematical treatment of C semantics improve the quality of the ISO C document? How would doing that advance the stated purposes or goals of the C standard? > But giving formal semantic in the standard would mean > significantly bigger change. Due to the nature of C, I believe it is effectively impossible to give a formal mathematical definition of the semantics of C. Do you think such a thing is feasible or practicable? If so can you explain the reasoning behind your thinking?