Hexadecimal summation widout int converson
Page 1 of 1

Author:  Techbrat [ Thu Nov 26, 2009 10:39 pm ]
Post subject:  Hexadecimal summation widout int converson

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:

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

would dis work or am I wrong?

All inputs are appreciated!!

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group