Re: intdiv
- Posted by DerekParnell (admin) May 13, 2012
- 1468 views
bill said...
Manual section 15.2.2 integer range -1,073,741,824 to 1,073,741,823
-1,073,741,824 = -2^30
If this is not MININT then sorry but it is a power of 2.
The powof2() function tests if a number is the result of 2 to some power. There is no 'x' such that 2^x results in a negative number. Thus MININT, a negative number, cannot pass this test.