Login    Forum    Search    FAQ   Blog

Board index » Server Side Development » Java




 Page 1 of 1 [ 1 post ] 



Author Message
 Post subject: Hexadecimal summation widout int converson
 Post Posted: Thu Nov 26, 2009 10:39 pm 
Offline

Joined: Sat Feb 21, 2009 10:45 am
Posts: 30
Hi all,

I have been tryin to add two numbers representd as strings, i.e.,
addition of the two hexadecimal numbers. I am aware of the addition process
where we convert the strings to number format (int / long) and add these
two and convert the result back to Hex.

I dont want to use dis process due 2 limitations in the precision of int
nd long data-types. was there ne other way of addin these hex numbers?
My line of thought forces me 2 consider da followin process:

Code:
A)Hex to Binary ;
B)Binary Addition ;
C)Binary Result to Hex

would dis work or am I wrong?

All inputs are appreciated!!


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 1 post ] 




Board index » Server Side Development » Java


Who is online

Users browsing this forum: No registered users and 2 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron