• Subject: Re: Re[2]: Really big numbers
  • From: "David Wright" <dwright2@xxxxxxxxxxxxxxx>
  • Date: Fri, 5 Jan 2001 09:55:38 -0800

Must be a government job.....

...maybe he is counting molecules of water in the Colorado River, or little
red and blue flecks in the cash supply....

....has to be something REALLY important!


----- Original Message -----
From: "Anton Gombkötö" <gombkoetoe@ASSOFT.COM>
To: <RPG400-L@midrange.com>
Sent: Friday, January 05, 2001 9:02 AM
Subject: Re[2]: Really big numbers


>
> >David Morris: > Thanks for the suggestion.  Until I read the Class
> >documentation I did
> > > not realize that BigDecimal can go up to 2,147,483,647 digits.  That
> > probably
> > > fits the problem better than another suggestion to use REX, which
works
> > > fine, but Java is a much more acceptable solution.  I was amazed at
how
> > > fast REX is so I won't rule it out.
>
> > >>2,147,483,647 digits
> >Dan Bale: > Um, is this a typo?
>
> It's a misunderstanding. Convert it to hex, and you'll receive 7FFFFFFF.
> That can't be a coincidence; so i think there was a mix-up with the
biggest
> possible contents of signed numeric variable occupying 4 bytes and the
> number of digits.
>
> And 170 digits is definitely way too much for every purpose i can imagine.
> I think i once read about the number of atoms in the universe and i think
> that number was smaller....
>
> I really want to know what you want to do, David....
>
>
>
> Mit freundlichen Grüssen / best regards
>
> Anton Gombkötö
>
> Avenum Technologie GmbH
> Wien - Mattsee - Stuttgart
> e-mail Office   :       mailto:Anton.Gombkoetoe@avenum.com
> Homepage        :       http://www.avenum.com
>
> Lest das Redbook / read the redbook "Who knew you could do that with
RPG?":
> http://www.redbooks.ibm.com/abstracts/sg245402.html
>
> +---
> | This is the RPG/400 Mailing List!
> | To submit a new message, send your mail to RPG400-L@midrange.com.
> | To subscribe to this list send email to RPG400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
david@midrange.com
> +---
>

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.