max integer value


    Feb 06 2012 | 12:21 pm
    Hello max experts, I made a simple counter abstraction and i want to know, which is the maximum integer value. And it would good to know, what is happening, if i add 1 to this value. (does it jumps to 0 or to -max integer)
    here is my abstraction:
    best, l.

    • Feb 06 2012 | 1:25 pm
      2,147,483,647, which is (2^31)-1
      It appears that Max 6.0.3 uses 32 bit integers. Your example would take 68 years to wrap around.
      -Ron.
    • Feb 06 2012 | 2:26 pm
      BTW I found out by simply replacing the "+ 1" in your example patch with "* 2".
      -Ron.