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-65-14.ec2.internal X-Spam-Level: * X-Spam-Status: No, score=1.8 required=3.0 tests=BAYES_50,FORGED_GMAIL_RCVD, FREEMAIL_FROM,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.ada Subject: Re: project euler 29 Date: Fri, 15 Sep 2023 11:04:27 -0700 Organization: None to speak of Message-ID: <87led7l3dg.fsf@nosuchdomain.example.com> References: MIME-Version: 1.0 Content-Type: text/plain Injection-Info: dont-email.me; posting-host="9ac44d6307d20f3d8275c69cb9172ea8"; logging-data="3531042"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18vw3uoutYERcLHUZNm3wEO" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cancel-Lock: sha1:uBplki4Web3IG8YMeB1NkQhX0Do= sha1:TqNsbvNkDVV+L17dla0F75KOCQw= Xref: news.eternal-september.org comp.lang.ada:65661 List-Id: "Jeffrey R.Carter" writes: [...] > can only be compiled with GNAT. Note that, unlike > PragmARC.Unbounded_Numbers.Integers, GNAT's implementation of > Ada.Numerics.Big_Numbers.Big_Integers is not truly unbounded. I don't > know if it will hold 101 ** 101 without modification. It only has to hold 100 ** 100. The Python code in the parent uses the expression `range(2,101)`. Python's range() function yields a range that includes the first bound and excludes the second bound. -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com Will write code for food. void Void(void) { Void(); } /* The recursive call of the void */