I am trying to define an integer with a width of 64 bits using the C language on Ubnutu 9.10. 9223372036854775808 is 2 ^ 23
long long max=9223372036854775808 long max=9223372036854775808
When I compile it, the compiler issued a warning message:
binary.c:79:19: warning: integer constant is so large that it is unsigned binary.c: In function 'bitReversal': binary.c:79: warning: this decimal constant is unsigned only in ISO C90 binary.c:79: warning: integer constant is too large for 'long' type
Is the width of the 64-bit format long?
Regards,
c
Yongwei Xing Feb 27 2018-10-28T00-02
source share