Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 3 of 3
Search took 0.00 seconds; generated 3 minute(s) ago.
Search: Posts Made By: HRahman
Forum: Java Jan 12th, 2005, 3:59 PM
Replies: 1
Views: 172
Posted By HRahman
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
Posted By HRahman
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
Posted By HRahman
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...
Showing results 1 to 3 of 3

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:38 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC