From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:ac8:7dcd:: with SMTP id c13mr1317551qte.133.1640161526856; Wed, 22 Dec 2021 00:25:26 -0800 (PST) X-Received: by 2002:a25:ba05:: with SMTP id t5mr2889509ybg.675.1640161526650; Wed, 22 Dec 2021 00:25:26 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 22 Dec 2021 00:25:26 -0800 (PST) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=93.165.155.46; posting-account=Srm5lQoAAAAEMX9rv2ilEKR6FDPapmSq NNTP-Posting-Host: 93.165.155.46 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Ada.Numerics.Big_Numbers.Big_Integer has a limit of 300 digits? From: Mark Lorenzen Injection-Date: Wed, 22 Dec 2021 08:25:26 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:63235 List-Id: On Wednesday, December 22, 2021 at 6:57:10 AM UTC+1, Michael Ferguson wrote: > I just started using the Big_Integer library that is a part of the 202X version of ADA. > > It is repeatedly described as an "arbitrary precision library" that has user defined implementation. > > I was under the impression that this library would be able to infinitely calculate numbers of any length, but there is clearly a default limit of 300 digits. > How did you determine the limit of 300 digits? I see nothing in your example, that would imply such a limit. Are you sure that you are not reaching a line length limit in Text_IO or maybe a limit in the Image attribute? Regards, Mark L