Require exact-width integer type interfaces - Ecole Nationale du Génie de l'Eau et de l'Environnement de Strasbourg Accéder directement au contenu
Rapport Année : 2022

Require exact-width integer type interfaces

Résumé

C23 already simplifies the integer model in two important aspects. First, it only has two’s complement as the sign representation of integer types and, second, we also do not allow sign bits to be masked out for a corresponding unsigned integer type. So we have gained guarantees for the homogeneity of integer representations and for the absence of padding in a general framework. The demand for integer types with 128 and 256 bits is increasing, other languages start to have them among their required types. We should not wait another normalization cycle (12 years so far) to make this happen. Thus we propose to allow such extended types in a restricted setting, namely where they are such that they can be interfaced as exact-width integer type.
n2821.html (26.23 Ko) Télécharger le fichier
n2888.htm (34.72 Ko) Télécharger le fichier

Dates et versions

hal-03363699 , version 1 (04-10-2021)

Licence

Paternité

Identifiants

  • HAL Id : hal-03363699 , version 1

Citer

Jens Gustedt. Require exact-width integer type interfaces. [Research Report] N2888, ISO JTC1/SC22/WG14. 2022. ⟨hal-03363699⟩
37 Consultations
0 Téléchargements

Partager

Gmail Facebook X LinkedIn More