On Wednesday, 9 October 2024 at 12:12:22 UTC, Salih Dincer wrote:
[...]
```int_fast64_t``` is the fastest 64-bit or larger integer
type. The type that is at least 64 bits long and works fastest
on the platform is selected. This type can be selected if
performance is more important than memory and the processor can
run faster on certain types.
```long``` is an integer that is strictly 64 bits long. That
is, this type is permanently 64 bits and provides
cross-platform portability. If you want strictly 64 bits and
care about cross-platform consistency, you should use this type.
So you have to choose between consistency and efficiency. When
you tell the compiler this choice, it implements it if it can
agree with the processor.
SDB@79
Thank you. That helps.