Forum: Java
Jan 12th, 2005, 3:59 PM
|
|
Replies: 1
Views: 172
Anding with BigInteger variables
Hello,
I promming using the BigInteger type. I have the following while statement. x2, x3, y2, y3 are all of type BigInteger. Basically it should exit the loop once both staements are true, but it...
|
Forum: Java
Jan 11th, 2005, 6:40 PM
|
|
Replies: 9
Views: 248
Hello,
Yes, should'nt be able to use non-whole...
Hello,
Yes, should'nt be able to use non-whole number with mod (it doesn't make sense to). BUT yet Java allows you which is mathematically incorrect. What needs to happen is for the example for...
|
Forum: Java
Jan 11th, 2005, 12:34 PM
|
|
Replies: 9
Views: 248
Modulus
Hello,
I'm trying to use the % for modulus but this works purely as a remainder operator. This does not work properly when you have non whole numbers, i.e. it won't calculate 25/4 % 7 correctly. Is...
|