Deutsch   English   Français   Italiano  
<m5ikjkF4g6jU1@mid.individual.net>

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

Path: ...!npeer.as286.net!npeer-ng0.as286.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: G <g@nowhere.invalid>
Newsgroups: comp.lang.c
Subject: Re: "A diagram of C23 basic types"
Date: 7 Apr 2025 18:41:56 GMT
Organization: <Not Here, Not Me>
Lines: 43
Sender: Gip <gip@G15.fritz.box>
Message-ID: <m5ikjkF4g6jU1@mid.individual.net>
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> <vsni1v$291i3$5@dont-email.me> <vt13vp$bjs0$1@dont-email.me> <20250407211216.00006238@yahoo.com> <vt14u7$bjs0$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net rqQTGPhDpSFRWqN/jVQzjgtW4gRHs3/FbTbGMWG4aAroNIouUl
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:4oZWBrGd/4KFdE09rNtdl9prUw4= sha256:02h4jxDQPExCnddgT3aEmKRfEz/32HkUeiGusZW5NBQ=
User-Agent: tin/2.6.4-20241224 ("Helmsdale") (Linux/6.13.9-200.fc41.x86_64 (x86_64))
Bytes: 2510

bart <bc@freeuk.com> wrote:
> On 07/04/2025 19:12, Michael S wrote:
>> On Mon, 7 Apr 2025 19:02:34 +0100
>> bart <bc@freeuk.com> wrote:
>> 
>>> On 04/04/2025 04:01, Lawrence D'Oliveiro wrote:
>>>> On Wed, 2 Apr 2025 16:33:46 +0100, bart wrote:
>>>>    
>>>>> Here, tell me at a glance the magnitude of
>>>>> this number:
>>>>>
>>>>>        10000000000
>>>>
>>>>       #define THOUSAND 1000
>>>>       #define MILLION (THOUSAND * THOUSAND)
>>>>       #define BILLION (THOUSAND * MILLION)
>>>>
>>>>       uint64 num = 10 * BILLION;
>>>>
>>>> Much easier to figure out, don’t you think?
>>>
>>> Try 20 * BILLION; it will overflow if not careful.
> 
> (Actually both 10/20 billion will overflow u32; I was thinking of 20 
> billion billion overflowing u64.)
> 
>>> I'd normally write '20 billion' outside of C, since I use such
>>> numbers, with lots of zeros, constantly when writing test code.
>>>
>>> But when it isn't all zeros, or the base isn't 10, then numeric
>>> separators are better.
>>>
>> 
>> Is not it "20 milliards" in British English?
> 
> We (UK) now use 'billion' for 1E9; in the past it meant 1E12.
> 
> 'Milliardo' is Italian for 'billion'; perhaps in a few other languages too.

It's "miliardo", like "milione" (1e6), but there is also "bilione"(1e12), All
with only one "l".

G