Raised This Month: $12 Target: $400
 3% 

Emulate unsigned int 32bit


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-07-2009 , 12:54   Emulate unsigned int 32bit
Reply With Quote #1

I would love to emulate a 32bit unsigned integer. I need 4294967290 > 1 .

I am setting the 32bits manually but I need to compare two numbers as unsigned integers. I understand that using the logical operator ">" or "<" will not work in this case. So, is there a way to go about doing this? Maybe I have to compare bit for bit?
__________________
fysiks is offline
Spunky
Senior Member
Join Date: May 2008
Location: Orlando, Fl.
Old 05-07-2009 , 13:10   Re: Emulate unsigned int 32bit
Reply With Quote #2

You can probably use string math.
Spunky is offline
Send a message via AIM to Spunky
Reply


Thread Tools
Display Modes

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 22:28.


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