Anything related to integer arithmetic, i.e. arithmetic operations on integer numbers.
I have this Bash script and I had a problem in line 16. How can I take the previous result of …
bash integer-arithmetic mathematical-expressionsI have come across code from someone who appears to believe there is a problem subtracting an unsigned integer from …
c standards unsigned integer-arithmeticI have to store an integer value that is larger than the maximum value for the long datatype. How would …
c memory-management integer integer-arithmeticIs there any predefined function in c++ to check whether the number is square of any number and same for …
c++ algorithm math integer integer-arithmeticI know such topic was asked several times, but my question is about overflow on full 32 bits of int. For …
java integer bit-manipulation integer-overflow integer-arithmeticI am trying to get the sum of 1 + 2 + ... + 1000000000, but I'm getting funny results in PHP and Node.js. PHP $sum = 0; …
php node.js precision integer-overflow integer-arithmeticI have a few loops that I need in my program. I can write out the pseudo code, but I'm …
c++ comparison conditional-statements integer-arithmeticHow can I subtract two integers in C without the - operator?
c math integer integer-arithmeticI am writing a cycle method for a list that moves an index either forwards or backwards. The following code …
rust integer-overflow integer-arithmeticPreviously today I was trying to add two ushorts and I noticed that I had to cast the result back …
c# types integer-arithmetic