Re: [boost][int128] Formal Review Begins Today (July 22-July 31)

Matt Borland via Boost <[email protected]> Wed, 22 Jul 2026 14:39:07 +0000
Newsgroups gmane.comp.lib.boost.devel
Message-ID <9bvjonIrEP2EEIgOLFF2AGba-3fcLq5FxmOm9byvjQiaECo9LyhA1VWYPoSBO0aILaMOH1TrYiSYe7BfK2t5fz-UPCB5QePc7bCi7TDd0C8=@mattborland.com>
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--===============0821656816779238298==
Content-Type: multipart/signed; protocol="application/pgp-signature";
 micalg=pgp-sha512;
 boundary="------62ac65f6ab9284dfef2d73130819c66659f5ae8191b1f4b58c5a6e74bf668032";
 charset=utf-8

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------62ac65f6ab9284dfef2d73130819c66659f5ae8191b1f4b58c5a6e74bf668032
Content-Type: multipart/mixed;boundary=---------------------b656b84203e15c787b59f3b524a06c4d

-----------------------b656b84203e15c787b59f3b524a06c4d
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;charset=utf-8

Two questions that I have been asked in different forums already that are =
worth sharing with the list:

"What's the point when _BitInt is coming?" =



_BitInt is coming perhaps in C++29. _BitInt(N) is also optional for all N =
> 64 so there are no guarantees you will have _BitInt(128) on any given pl=
atform. This requires only C++14 and is tested all the way back to GCC 5, =
Clang 5, MSVC 14.1.

"also doesn't gcc/clang support __in128? and msvc has std::_Int128?"

GCC/Clang support __int128 only on 64-bit platforms and also not on Window=
s. MSVC has std::_int128, but it is completely undocumented.

Basically if you need to write portable code that requires 128-bit integer=
s this will work regardless of toolchain and architecture today.

Matt
-----------------------b656b84203e15c787b59f3b524a06c4d
Content-Type: application/pgp-keys; filename="publickey - [email protected] - 0xC1382EAD.asc"; name="publickey - [email protected] - 0xC1382EAD.asc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="publickey - [email protected] - 0xC1382EAD.asc"; name="publickey - [email protected] - 0xC1382EAD.asc"

LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgp4ak1FWDJ3Z2RCWUpLd1lCQkFI
YVJ3OEJBUWRBVUhPaDBLcGJaQ3N6aGR2S3p0V2o0QzZGUjFvek1CUUUKd2FCaTNtMlBKSExOSzIx
aGRIUkFiV0YwZEdKdmNteGhibVF1WTI5dElEeHRZWFIwUUcxaGRIUmliM0pzCllXNWtMbU52YlQ3
Q2p3UVFGZ29BSUFVQ1gyd2dkQVlMQ1FjSUF3SUVGUWdLQWdRV0FnRUFBaGtCQWhzRApBaDRCQUNF
SkVGbUJXbFZDRmFXbEZpRUV3VGd1clRjb0h3YmRTYklzV1lGYVZVSVZwYVZXdXdFQTc3cm0KT0E0
VEI2WHhlNnE4Z0k0MmJFSUNNaE15WktTTWNha3ozOS9kallrQkFNSk9HK0lHUUMvZDBuM2RzbDEw
CktnL294WDg4a0ZPMW9QS240L1hXK1RvQnpqZ0VYMndnZEJJS0t3WUJCQUdYVlFFRkFRRUhRT3Nt
bzZ3UgpVdVhSQXZGSWlxbVFrellyUHl2S1lLbmEyejRadG1uVFFNa01Bd0VJQjhKNEJCZ1dDQUFK
QlFKZmJDQjAKQWhzTUFDRUpFRm1CV2xWQ0ZhV2xGaUVFd1RndXJUY29Id2JkU2JJc1dZRmFWVUlW
cGFXVUp3RUE1RzBjClpSbkc1V0dORXJJK3k5MGlRclR2MDJpNEl2aHY3dHdvRmNMRC96d0Evakt5
cHcrdmVoRTk5bUVqMS91SQpFa29ERmxOelFacU5sZGJqUmNQeUk1VUgKPTQ2MlMKLS0tLS1FTkQg
UEdQIFBVQkxJQyBLRVkgQkxPQ0stLS0tLQo=
-----------------------b656b84203e15c787b59f3b524a06c4d--

--------62ac65f6ab9284dfef2d73130819c66659f5ae8191b1f4b58c5a6e74bf668032
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: ProtonMail

wrsEARYKAG0Fgmpg1fsJEFmBWlVCFaWlRRQAAAAAABwAIHNhbHRAbm90YXRp
b25zLm9wZW5wZ3Bqcy5vcme7FEM0Em/5TnnWf4hPSuLqc/1NrLTzch3dIfdu
cm0zIBYhBME4Lq03KB8G3UmyLFmBWlVCFaWlAAAf3gEA3QV5VfCxpzj4MWlY
bO015ks1sPCv3yohKAgqQaK8RJYBAOMDl6YTjijykvyyKuCT1B+HSvWA3N6F
pxyoFZqquWoJ
=FjX7
-----END PGP SIGNATURE-----


--------62ac65f6ab9284dfef2d73130819c66659f5ae8191b1f4b58c5a6e74bf668032--


--===============0821656816779238298==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Boost mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.boost.org/mailman3/lists/boost.lists.boost.org/
Archived at: https://lists.boost.org/archives/list/[email protected]/message/WZAIC3SODSSU2LEQGMTKYLNJCC6AJVZ7/ 

--===============0821656816779238298==--