| Deutsch English Français Italiano |
|
<20250407234950.00006ee5@yahoo.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Michael S <already5chosen@yahoo.com> Newsgroups: comp.lang.c Subject: Re: "A diagram of C23 basic types" Date: Mon, 7 Apr 2025 23:49:50 +0300 Organization: A noiseless patient Spider Lines: 74 Message-ID: <20250407234950.00006ee5@yahoo.com> 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> <vt1bmt$jf54$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Date: Mon, 07 Apr 2025 22:49:52 +0200 (CEST) Injection-Info: dont-email.me; posting-host="3a887cb259b636b775accca2c1064248"; logging-data="404740"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1//kucQar7eq8IbJUmEnMrT2QD3LY1yy6o=" Cancel-Lock: sha1:HFayga6s3HhKSOhLZWBcPH/jAMU= X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32) Bytes: 3703 On Mon, 7 Apr 2025 22:14:20 +0200 Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote: > On 07.04.2025 20:18, bart wrote: > > On 07/04/2025 19:12, Michael S wrote: =20 > >> On Mon, 7 Apr 2025 19:02:34 +0100 > >> bart <bc@freeuk.com> wrote: > >> =20 > >>> On 04/04/2025 04:01, Lawrence D'Oliveiro wrote: =20 > >>>> On Wed, 2 Apr 2025 16:33:46 +0100, bart wrote: > >>>> =20 > >>>>> Here, tell me at a glance the magnitude of > >>>>> this number: > >>>>> > >>>>> 10000000000 =20 > >>>> > >>>> #define THOUSAND 1000 > >>>> #define MILLION (THOUSAND * THOUSAND) > >>>> #define BILLION (THOUSAND * MILLION) > >>>> > >>>> uint64 num =3D 10 * BILLION; > >>>> > >>>> Much easier to figure out, don=E2=80=99t you think? =20 > >>> > >>> Try 20 * BILLION; it will overflow if not careful. =20 > >=20 > > (Actually both 10/20 billion will overflow u32; I was thinking of 20 > > billion billion overflowing u64.) > > =20 > >>> 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. > >>> =20 > >> > >> Is not it "20 milliards" in British English? =20 > >=20 > > We (UK) now use 'billion' for 1E9; in the past it meant 1E12. > >=20 > > 'Milliardo' is Italian for 'billion'; perhaps in a few other > > languages too. =20 >=20 > "In a few other languages"? - That was not my impression; > and a quick look into Wikipedia seems to support that. >=20 > The global map[*] is interesting! >=20 > (Read the articles for the details, the historic base, and > especially what's standard in countries, and why the common > standard is in some cases like GB not used primarily today.) >=20 > Janis >=20 > https://upload.wikimedia.org/wikipedia/commons/7/7c/World_map_of_long_and= _short_scales.svg >=20 > Green - long scale > Blue - short scale > Turquoise - both, long and short > Yellow - other scales >=20 I think that this map misses one important detail - majority of "blue" non-English-speaking countries spell 1e9 as milliard/miliard. I.e. for that specific scale they are aligned with "green" countries. If you don't believe me, try google translate.