Possible Duplicate:
int_least64_t vs int_fast64_t vs int64_t
For example, what is the difference between following types and why/when use them?
int64_tint_least64_tint_fast64_t
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
int64_tis a type of exactly 64 bit width, two’s complement representation, and no padding bits. Such is useful e.g. for work in binary interfaces; its presence is optional, defined only on architectures that have an integer type of exactly that width.int_least64_tis the smallest possible type of at least 64 bit width, with implementation-defined representation and padding. It might be wider, if exact 64 bit width is unavailable, e.g. for work in algorithmics where you need a specific minimum value range.int_fast64_tis a type of at least 64 bit width. It might be wider if the wider type can be handled more efficiently by the CPU, trading memory footprint for speed.The first one is very specific, but optional. The other two give the compiler some wiggle room if the underlying hardware is tricky, i.e. you tell the compiler under which conditions you would accept a wider type than requested.