Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connectionsPath: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Michael S 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> <20250407211216.00006238@yahoo.com> 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 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 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.