Skip to content
Discussion options

You must be logged in to vote

My understanding of the specifications is that the integer type does not define the size of the integer. If you want to specify the size, there's no need to create a new type: you can use the format field instead.

It's common practice to extend the set of accepted format values for integers with options like i8, i16, i32, i64, or i128.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@krpatter-intc
Comment options

Answer selected by krpatter-intc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants