From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,278bf0771374076e X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 02 Nov 2006 20:37:20 +0100 From: Gautier User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: ada is getting spanked :( References: <1162052997.664967.135910@e3g2000cwe.googlegroups.com> <3321666.DLNnW6yRHq@linux1.krischik.com> <4546f186$1@news.post.ch> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 83.78.152.104 X-Original-NNTP-Posting-Host: 83.78.152.104 Message-ID: <454a48dc$1_7@news.bluewin.ch> X-Trace: news.bluewin.ch 1162496220 83.78.152.104 (2 Nov 2006 20:37:00 +0100) Organization: Bluewin AG Complaints-To: abuse@bluewin.ch X-Original-NNTP-Posting-Host: 127.0.0.1 Path: g2news2.google.com!news4.google.com!news3.google.com!news.glorb.com!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!t-online.de!130.59.10.21.MISMATCH!kanaga.switch.ch!news-zh.switch.ch!switch.ch!news.ip-plus.net!newsfeed.ip-plus.net!news.bluewin.ch!not-for-mail Xref: g2news2.google.com comp.lang.ada:7332 Date: 2006-11-02T20:37:20+01:00 List-Id: Jeffrey R. Carter: > I looked at Gautier de Montmollin's package, but there doesn't seem to > be a way to convert a big-num to an Integer. Mmmh, you looked at multi002.zip on Jerome's page, which appears to be outdated, and not at mathpaqs.zip, where you have: -- Convert basic_int to multi_int function Multi(small: Basic_int) return Multi_int; -- Convert multi_int to basic_int (when possible, else: Cannot_fit raised) function Basic(large: Multi_int) return Basic_int; I'd be keen to give a try. Do you have a piece of code I could continue with that pi test ? Cheers, Gautier ______________________________________________________________ Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm NB: For a direct answer, e-mail address on the Web site!