I was reading some C++ code and I came across this rather strange line.
This is the line:
if (!k || !n || !m) return min((ll)tot, m*(1LL << n));
The 1LL seems to have been answered here: What is 1LL or 2LL in C and C++?
What i'm wondering is what exactly the (ll)tot
[2 small L's] could be; Is it some form of type casting? tot is a global integer variable.
Could someone please enlighten me, or direct me to some resource where I can read about what exactly this (ll)variableName
is.
Thanks in advance.