Multiplying and adding binarynumbers?

Is there a easy way of multiplying and adding binary numbers i JAVA? Especially big binarynumbers.
[105 byte] By [andrea_tylena] at [2007-9-28 1:24:42]
# 1
http://forum.java.sun.com/thread.jsp?forum=31&thread=323488
phohmeyera at 2007-7-7 20:59:11 > top of Java-index,Other Topics,Algorithms...
# 2
I don't know anything like you want providing by Java SDK API.I suppose you have to write it or may be to find something in WWW.regards
edger2002a at 2007-7-7 20:59:11 > top of Java-index,Other Topics,Algorithms...
# 3
Have you checked http://java.sun.com/j2se/1.4/docs/api/You may also be interrested in http://www.alphaworks.ibm.com/tech/bigdecimal
kvolsa at 2007-7-7 20:59:11 > top of Java-index,Other Topics,Algorithms...
# 4
Sorry - the link to the Java API doc was a bit generic. I meant to point to http://java.sun.com/j2se/1.4/docs/api/java/math/package-summary.html
kvolsa at 2007-7-7 20:59:11 > top of Java-index,Other Topics,Algorithms...
# 5

> Is there a easy way of multiplying and adding binary

> numbers i JAVA? Especially big binarynumbers.

What do you mean by binary number? An integer is a binary number. You've got a link to BigInteger in a post above. You can use the shiftLeft methods to shift in the binary numbers into a BigInteger, do whatever you want with it, and then use shiftRight to shift the binary number out again.

uja at 2007-7-7 20:59:11 > top of Java-index,Other Topics,Algorithms...