On 2/22/06, Reuben D. Budiardja <techlist@xxxxxxxxxxxxxxxxxxxxxxx> wrote: > > Hello, > In terms of performance and raw speed, is there any disadvantage of using > "long long int" instead of "long int", "long double" instead of "double" on > 32-bit machine ? Are there any other disadvantage that I should consider? On 32-bit Intel machines a long long int (64 bits) is usually not the same as a long int (32 bits), the same is true for double (64 bits, IEEE754) and long double (96 bits, IEEE845). BTW long long int is a GNU extension and subject to portability. The situation is completely different for 64-bit systems. Conclusion: using the larger versions will result in loss of performance. \Steve - : send the line "unsubscribe linux-c-programming" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html