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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4f4331623dbc3161 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-21 22:16:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!newsswitch.lcs.mit.edu!newsfeed.cwix.com!newsfeed.icl.net!diablo.netcom.net.uk!netcom.net.uk!dispose.news.demon.net!news.demon.co.uk!demon!pogner.demon.co.uk!zap!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: if statement Date: 21 Mar 2002 06:25:27 +0000 Organization: Pushface Message-ID: References: NNTP-Posting-Host: localhost X-NNTP-Posting-Host: pogner.demon.co.uk:158.152.70.98 X-Trace: news.demon.co.uk 1016777750 nnrp-12:6531 NO-IDENT pogner.demon.co.uk:158.152.70.98 X-Complaints-To: abuse@demon.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Date: 21 Mar 2002 06:25:27 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: archiver1.google.com comp.lang.ada:21528 Date: 2002-03-21T06:25:27+00:00 List-Id: Christoph Grein writes: > arctan (X => X, Y => Y) > > is a completely different beast. The definition has parameter Y > first, X second (for good mathematical reasons), And if you actually want arctan (X => Y, Y => X) because you're measuring angles clockwise from North ... actually I guess a renaming would be good; function Compass_Bearing (Eastings, Northings : Float'base) return Float'Base) renames Arctan (X => Northings, Y => Eastings); (uncompiled) -- Simon Wright Work Email: simon.j.wright@amsjv.com Alenia Marconi Systems Voice: +44(0)23-9270-1778 Integrated Systems Division FAX: +44(0)23-9270-1800