We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sorry fixed.hpp dont compile, my compiler(msvc10) no understand is: 0llu or 1llu are constants? Fixed() : value(0llu) {}
static const int64_t ShiftValue = (1llu<<Shift);
thanks!
The text was updated successfully, but these errors were encountered:
ok, 1llu is ((unsigned long long) 1<<Shift) ?
Sorry, something went wrong.
opencv uses this macro to resolve the problem:
#if defined _MSC_VER || defined __BORLANDC__ typedef __int64 int64; typedef unsigned __int64 uint64; # define CV_BIG_INT(n) n##I64 # define CV_BIG_UINT(n) n##UI64 #else typedef int64_t int64; typedef uint64_t uint64; # define CV_BIG_INT(n) n##LL # define CV_BIG_UINT(n) n##ULL #endif
I guess we should use it here too (to be crossplatform).
PS sorry for necrobump.
No branches or pull requests
Sorry fixed.hpp dont compile, my compiler(msvc10) no understand is: 0llu or 1llu
are constants?
Fixed() : value(0llu) {}
static const int64_t ShiftValue = (1llu<<Shift);
thanks!
The text was updated successfully, but these errors were encountered: