Article View: borland.public.jbuilder.java.language
Article #16209Re: BigInteger Limit?
From: Chris Hill
Date: Thu, 18 Mar 1999 00:00
Date: Thu, 18 Mar 1999 00:00
21 lines
1069 bytes
1069 bytes
I think the maximum number of bits is limited only by available memory. I don't know what minimum number of bits is (or why that is important), but if you want to minimize the amount of memory used for a (small) integer, use a byte instead. If a byte is too big, use only several bits for a number (you can pack multiple really small integers into a byte, but a byte is the smallest data type). On Thu, 18 Mar 1999 15:43:53 +0800, "Samson Fu" <samsonfu@hutchcity.com> wrote: >Can anyone tell me the limitation(Max & Min bits) of BigInteger in Java? > >Thank you. >Samson Fu > > > > Chris Hill Chris244@aol.com
Technical Details
Message-ID:
<36f0bdc4.198898500@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7cqanu$8n12@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,530a448ad7a6a549 X-Google-Attributes: gidf74b3,public From: Chris244@aol.com (Chris Hill) Subject: Re: BigInteger Limit? Date: 1999/03/18 Message-ID: <36f0bdc4.198898500@forums.borland.com> X-Deja-AN: 456050066 References: <7cqanu$8n12@forums.borland.com> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.language