Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > IDL > power of number...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 213 of 228
Post > Topic >>

power of number becomes negative?

by adisn123@[EMAIL PROTECTED] Mar 4, 2008 at 09:53 PM

Hi,

I raised a number 2 by 15 (2^15) in IDL, and the output comes out as
-32768. If I do 2^16, it becomes 0.

Could someone explain me why it is like that?

Thanks.
 




 2 Posts in Topic:
power of number becomes negative?
adisn123@[EMAIL PROTECTED  2008-03-04 21:53:57 
Re: power of number becomes negative?
Jean H <jghasban@[EMAI  2008-03-05 10:39:10 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 22:43:33 CDT 2008.