Deutsch English Français Italiano |
<vbnboc$2g0vc$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: David Brown <david.brown@hesbynett.no> Newsgroups: comp.lang.c Subject: Re: Top 10 most common hard skills listed on resumes... Date: Mon, 9 Sep 2024 19:37:15 +0200 Organization: A noiseless patient Spider Lines: 29 Message-ID: <vbnboc$2g0vc$2@dont-email.me> References: <vab101$3er$1@reader1.panix.com> <vbcs65$eabn$1@dont-email.me> <vbekut$1kd24$1@paganini.bofh.team> <vbepcb$q6p2$1@dont-email.me> <vbgb5q$1ruv8$1@paganini.bofh.team> <vbhbbb$1blt4$1@dont-email.me> <vbipp5$24kl5$1@paganini.bofh.team> <vbk0d9$1tajm$1@dont-email.me> <vbkpfc$27l2o$1@paganini.bofh.team> <vbl3am$228vv$1@dont-email.me> <vblfgb$2dkij$1@paganini.bofh.team> <878qw13a40.fsf@nosuchdomain.example.com> <vbll6l$2dpn7$2@paganini.bofh.team> <874j6p34df.fsf@nosuchdomain.example.com> <vbn79l$2g9i6$1@paganini.bofh.team> <vbn9e1$2fqep$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 09 Sep 2024 19:37:17 +0200 (CEST) Injection-Info: dont-email.me; posting-host="3efea3e64b610dbd0655d184f54f1324"; logging-data="2622444"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/t6HB2EuFjgBWPq+4vqSIpg8aCM/GtFiM=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:R/JFeS4P3LOVg06d942Qb7MEiP0= Content-Language: en-GB In-Reply-To: <vbn9e1$2fqep$1@dont-email.me> On 09/09/2024 18:57, Bart wrote: > On 09/09/2024 17:21, Waldek Hebisch wrote: >> Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote: > >>> C23 doesn't add any new support for 128-bit integers. > > So what does _Bitint do with a width of 128 bits? > _BitInt types are not "integer types". Nor is gcc's __int128 type. Obviously they are very like integer types in many ways, but there are differences, so they do not count as "integer types" like the standard integer types or extended integer types (which C allows, but AFAIK no common compiler supports). You might think the differences are minor or just "legal technicalities", but sometime it is relevant that while 0x1234567812345678 is a 64-bit integer constant, 0x12345678123456781234567812345678 is not a 128-bit integer constant even if you can use __int128 (gcc or clang extension) or _BitInt(128) (C23 bit-precise integer type) as though it were a 128-bit integer type in most circumstances. For many purposes, however, you can use _BitInt(128) as though it were a normal 128-bit integer type, and ignore the details. (I haven't done much testing with these myself. I wonder if gcc handles _BitInt(128) and __int128 identically in code generation.)