Skip to Main content Skip to Navigation
New interface

Require exact-width integer type interfaces

Jens Gustedt 1 
1 CAMUS - Compilation pour les Architectures MUlti-coeurS
Inria Nancy - Grand Est, ICube - Laboratoire des sciences de l'ingénieur, de l'informatique et de l'imagerie
Abstract : 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.
Document type :
Complete list of metadata
Contributor : Jens Gustedt Connect in order to contact the contributor
Submitted on : Monday, October 4, 2021 - 10:44:02 AM
Last modification on : Friday, October 28, 2022 - 3:46:10 PM


Distributed under a Creative Commons Attribution 4.0 International License


  • HAL Id : hal-03363699, version 1


Jens Gustedt. Require exact-width integer type interfaces. [Research Report] N2888, ISO JTC1/SC22/WG14. 2022. ⟨hal-03363699⟩



Record views


Files downloads