search for: stdintmax

Displaying 1 result from an estimated 1 matches for "stdintmax".

Did you mean: sintmax
2023 Sep 05
1
[PATCH nbdkit] server: Move size parsing code (nbdkit_parse_size) to common/include
...t write integer literals of that type, even though it behaves integral in every other aspect). We're kind of in a frozen state where making intmax_t larger than 64 bits will break more programs than expected because it has ABI implications: https://stackoverflow.com/questions/21265462/why-in-g-stdintmax-t-is-not-a-int128-t My personal preference is to avoid intmax_t, as it has too much baggage (the risk of future widening, vs. NOT being the widest type after all), similar to how size_t already has baggage. In short, having something that is not platform specific is easier to reason about (for th...