Deutsch   English   Français   Italiano  
<vskjlo$34st8$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: bart <bc@freeuk.com>
Newsgroups: comp.lang.c
Subject: Re: "A diagram of C23 basic types"
Date: Thu, 3 Apr 2025 01:10:33 +0100
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <vskjlo$34st8$1@dont-email.me>
References: <87y0wjaysg.fsf@gmail.com> <vsj1m8$1f8h2$1@dont-email.me>
 <vsj2l9$1j0as$1@dont-email.me> <vsjef3$1u4nk$1@dont-email.me>
 <vsjg6t$20pdb$1@dont-email.me> <vsjgjn$1v1n4$1@dont-email.me>
 <vsjk4k$24q5m$1@dont-email.me> <vsjlcp$230a5$1@dont-email.me>
 <vsjmdl$277bk$1@dont-email.me> <VsdHP.1828827$TBhc.1078002@fx16.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 03 Apr 2025 02:10:32 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="5507e5a04d95688517b6600f7dbd180a";
	logging-data="3306408"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+Yjl+sJTpKMFaAqrig+oaj"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:QH13s/x1fuWz9wkuyUSL6QMQFKg=
In-Reply-To: <VsdHP.1828827$TBhc.1078002@fx16.iad>
Content-Language: en-GB

On 02/04/2025 17:20, Scott Lurndal wrote:
> Muttley@dastardlyhq.com writes:
>> On Wed, 2 Apr 2025 16:33:46 +0100
>> bart <bc@freeuk.com> gabbled:
>>> On 02/04/2025 16:12, Muttley@DastardlyHQ.org wrote:
>>>> Meh.
>>>
>>> What's the problem with it? Here, tell me at a glance the magnitude of
>>> this number:
>>>
>>>      10000000000
>>
>> And how often do you hard code values that large into a program? Almost
>> never I imagine unless its some hex value to set flags in a word.
> 
> Every day, several times a day. 16 hex digit constants are very
> common in my work.  The digit separator really helps with readability,
> although I would have preferred '_' over "'".

Oh, I thought C23 used '_', since Python uses that. I prefer single 
quote as that is not shifted on my keyboard. (My language projects just 
allow both!)

That fact that it is not widespread is a problem however, so I can't use 
either without restricting the compilers that can be used.

For example gcc 14.x on Windows accepts it with -std=c23 only; gcc on 
WSL doesn't; tcc doesn't.