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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,3cff83f35107b37b X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.66.90.102 with SMTP id bv6mr1798934pab.34.1349403149158; Thu, 04 Oct 2012 19:12:29 -0700 (PDT) Received: by 10.68.216.132 with SMTP id oq4mr2879431pbc.8.1349403149102; Thu, 04 Oct 2012 19:12:29 -0700 (PDT) Path: t10ni23613332pbh.0!nntp.google.com!kt20no10310974pbb.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 4 Oct 2012 19:12:28 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=69.20.190.126; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC NNTP-Posting-Host: 69.20.190.126 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Multiplying fixed-point by long integer From: Shark8 Injection-Date: Fri, 05 Oct 2012 02:12:29 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-10-04T19:12:28-07:00 List-Id: You could use div & mod to break up the big integer into something Integer = can handle. (Use mod to find an even divisor, and multiply that to the fixe= d-point div times... the restriction is it won't work on a number whose pri= me-factors are not contained in Positive'Range.)