Is there any quick way to do Multiplication and Division,

in Hexadecimal, just like in Decimal,

only with my hands and brain, without the calculator ?

in Hexadecimal, just like in Decimal,

only with my hands and brain, without the calculator ?

Maybe it is difficult.

Does anyone know, how to deal with the multiplication or division without convert the operands to Decimal.

There are so many numbers in the computer expressed in Hex.

So i think there must be some easy way to do the calculation without converting them to Decimal.

Does anyone know, how to deal with the multiplication or division without convert the operands to Decimal.

There are so many numbers in the computer expressed in Hex.

So i think there must be some easy way to do the calculation without converting them to Decimal.

Why not use a calculator?

But on the other side... You can use

But on the other side... You can use

__all__of your numbers inside your source in decimal. And do the math according to that. The fact that the computer changes them into Hex should be a non issue.Well actually you

I believe there are more sophisticated 'algorithms', though. Try googling for them.

__CAN__multiply and divide hex numbers just like decimal numbers. It may seem strange on first few tries, but it's possible.I believe there are more sophisticated 'algorithms', though. Try googling for them.

Rubbish, maybe if you're the Rainman you can. Show me a page where dividing or multiplying of hex numbers happens without converting them to another number base.

Many math forums, for example. Review the way you're doing multiplication in decimal format. Then treat hex numbers just like decimal numbers with few more digits.

As i've said: it takes time to get used to it. My maths doctor has showed once how he does add/sub/mul/div in decimal/hex/binary on the fly.

As i've said: it takes time to get used to it. My maths doctor has showed once how he does add/sub/mul/div in decimal/hex/binary on the fly.

If you don't want to convert you need to know your Hex times tables

Well decimal times tables for numbers up to 15 X 15 and their hex representation

IE A*A is 64 (10dec * 10dec is 100dec)

Example

F * AA

AA

X F

F * A = 150dec or 96hex

A-

X F

= 96

F * A again = 150dec or 96hex

AA

X F

= 96

+ 960 0+6 = 6 9+6 = 15dec or F hex 9+nothing = 9

= 9F6

So your final answer is 9F6

One more example

16 * CD (in dec 22 * 205)

CD

X 16 6*D = 4E 6*C = 48 480 + 4E = 4CE

CD

X 1- 1*D = D 1*C = C C00 + D0 = CD0

= 4CE

+ CD0 0+E = E C0 + D0 = 190 400+C00 = 1000

final answer is 119E E + 190 + 1000 = 119E

Hope that helps you

Well decimal times tables for numbers up to 15 X 15 and their hex representation

IE A*A is 64 (10dec * 10dec is 100dec)

Example

F * AA

AA

X F

F * A = 150dec or 96hex

A-

X F

= 96

F * A again = 150dec or 96hex

AA

X F

= 96

+ 960 0+6 = 6 9+6 = 15dec or F hex 9+nothing = 9

= 9F6

So your final answer is 9F6

One more example

16 * CD (in dec 22 * 205)

CD

X 16 6*D = 4E 6*C = 48 480 + 4E = 4CE

CD

X 1- 1*D = D 1*C = C C00 + D0 = CD0

= 4CE

+ CD0 0+E = E C0 + D0 = 190 400+C00 = 1000

final answer is 119E E + 190 + 1000 = 119E

Hope that helps you

Right , it is just out of the common???

Your discussion really help me.

Thank you for r22.

Yes, I'm sure there must be some way like the tables to help me do the Mul and Div.

What we just need is a

**************************

Posted on 2005-11-10 00:14:50 by iNeedSpeed

Your discussion really help me.

Thank you for r22.

Yes, I'm sure there must be some way like the tables to help me do the Mul and Div.

What we just need is a

__NEW__......**************************

Posted on 2005-11-10 00:14:50 by iNeedSpeed