Closed jopperm closed 1 year ago
Regarding sizeof: There is an extra closing parenthesis in the definition ⌈bitsizeof(T)/8⌉)
. Personally, I find the ceiling brackets to be pretty difficult to see, so I would suggest replacing the definition by ceil(bitsizeof(T)/8)
or (bitsizeof(T) + 7) / 8
.
Both sizeof
and bitsizeof
also accept arbitrary expressions, returning the size of the expression's analyzed type.
Thanks, fixed.
__static_assert
intrinsic (mainly to express constraints on the elaborated value of implementation parameters)int & myalias = REG[1][63:32];
)