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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!newsfeed.xs3.de!io.xs3.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.109.56.106.229.mobile.3.dk!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: Fortran 95: How do you write code to do this? Date: Thu, 01 Nov 2018 18:59:58 +0100 Organization: JSA Research & Innovation Message-ID: <87r2g43cgx.fsf@jacob-sparre.dk> References: <5a59b308-041b-437e-8878-7259870c802a@googlegroups.com> <1d3e2e3e-93a3-492a-8c87-627b6e726be6@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: franka.jacob-sparre.dk; posting-host="109.56.106.229.mobile.3.dk:109.56.106.229"; logging-data="26634"; mail-complaints-to="news@jacob-sparre.dk" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:aK3sdseWKoGZnp2KjeVeBcVXMag= Xref: reader02.eternal-september.org comp.lang.ada:54746 Date: 2018-11-01T18:59:58+01:00 List-Id: "Michael_Smith@gmail.com" writes: > The Package Interfaces is listed on page B.1 (page 33) in "Lecture > Notes in Computer Science 1246 Ada 95 Reference Manual Language and > Standard Libraries." > > Question 1: Is there a title of a book that you can give me that > describes how to use the above book intelligently? One option is "Programming in Ada 2012" by John Barnes. It is a bit long, but it should give you a pretty good understanding of Ada. > Question 2: Is there a way to solve this problem without using > Interfaces.Shift_Left ()? Yes. You could for example use modulus and multiply instead. Greetings, Jacob -- "The point is that I am now a perfectly safe penguin!"