Path: csiph.com!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: Hex string literals (was Re: C23 thoughts and opinions) Date: Mon, 17 Jun 2024 22:39:00 -0700 Organization: A noiseless patient Spider Lines: 9 Message-ID: <86v826kdxn.fsf@linuxsc.com> References: <00297443-2fee-48d4-81a0-9ff6ae6481e4@gmail.com> <87msoh5uh6.fsf@nosuchdomain.example.com> <87y18047jk.fsf@nosuchdomain.example.com> <87msoe1xxo.fsf@nosuchdomain.example.com> <87ikz11osy.fsf@nosuchdomain.example.com> <87plt8yxgn.fsf@nosuchdomain.example.com> <87cyp6zsen.fsf@nosuchdomain.example.com> <874jahznzt.fsf@nosuchdomain.example.com> <87v82b43h6.fsf@nosuchdomain.example.com> <87iky830v7.fsf_-_@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Tue, 18 Jun 2024 07:39:00 +0200 (CEST) Injection-Info: dont-email.me; posting-host="d4aeba7b4aaab0d94b94221c1561c3e8"; logging-data="1272498"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Lkiz9BTjTkQaUpVDZ3AzugQV7sXrFWfE=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:2kQAzX+gaVFkGXlW6iEkmi7y4M8= sha1:wmVv7n9VQcI8+PhWeNgsbbxV0B0= Xref: csiph.com comp.lang.c:386139 bart writes: > AFAIK nobody uses octal anymore. There are circumstances where being able to write constants in octal is useful. It also would be nice to be able to write constants in base 4 and base 32 (because 5 is half of 10). I don't have occasion to prefer octal very often but I'm glad it's there for those times when I do.