[Message Deleted]
-
- we don't do homework here. 2) read the forums posting guidelines 3) "the int type has a limitation: it can’t store integer values larger than 231" Where the f*ck does this come from ?????
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
-
- we don't do homework here. 2) read the forums posting guidelines 3) "the int type has a limitation: it can’t store integer values larger than 231" Where the f*ck does this come from ?????
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
I would assume that by 231 he means 2^31, which is the limitation for a signed int.; As for the question, what you are going to have to do is remember back to gradeschool, when we did longhand arithmetic. 1001 2009 ---- 3010 Write out psuedo code on how to do this, then implement it. isValidBigInt should be easy.
-
I would assume that by 231 he means 2^31, which is the limitation for a signed int.; As for the question, what you are going to have to do is remember back to gradeschool, when we did longhand arithmetic. 1001 2009 ---- 3010 Write out psuedo code on how to do this, then implement it. isValidBigInt should be easy.
TannerB wrote:
I would assume that by 231 he means 2^31
this is fundamentaly different, and moreover, WRONG. the higher value an unsigned int can take is (2^32)-1, which is 4 294 967 295.
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
-
TannerB wrote:
I would assume that by 231 he means 2^31
this is fundamentaly different, and moreover, WRONG. the higher value an unsigned int can take is (2^32)-1, which is 4 294 967 295.
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
-
TannerB wrote:
I would assume that by 231 he means 2^31
this is fundamentaly different, and moreover, WRONG. the higher value an unsigned int can take is (2^32)-1, which is 4 294 967 295.
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
As far as I remember, there is only signed int in Java, so its maximum value would be (2^31)-1 (2,147,483,647). My LinkedIn Profile