Raised This Month: $ Target: $400
 0% 

How to define a large integer?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
wwzw
Member
Join Date: Feb 2009
Old 11-02-2011 , 10:26   Re: How to define a large integer?
Reply With Quote #4

My goal is to convert IP numbers from 0 to 4294967295
However, the default variable is -2147483648 to 2147483647
If the calculation result is greater than 2147483647, the actual output is a negative number:
Actual output = The results - 4294967296
How to set variable unsigned?

Last edited by wwzw; 11-02-2011 at 10:37.
wwzw is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode