You are viewing a single comment's thread. Return to all comments →
can you please tell me why we want to use -1 ??
because one of the value is zero. to adjust that !
short range is from -32768 to 32767
but not from -32768 to 32767
so we use '-1' in Math.pow(2,15)
What's the difference between -32768 to 32767 and -32768 to 32767
the difference is in th question