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,9fe315ab08ea9576 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.213.68 with SMTP id nq4mr5536096pbc.2.1328950387619; Sat, 11 Feb 2012 00:53:07 -0800 (PST) Path: wr5ni11696pbc.0!nntp.google.com!news1.google.com!news.glorb.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Arctan: to use with single or with double arguments? Date: Sat, 11 Feb 2012 08:53:06 +0000 Organization: A noiseless patient Spider Message-ID: References: <908e7aea-ed77-4dce-9f5d-e6341abc1303@s19g2000vbr.googlegroups.com> <53a2a6fa-9d48-4486-b5c7-aea81a026a82@x18g2000pro.googlegroups.com> <6e68502c-7ba3-43a5-9a3e-11ec3810c666@k10g2000yqk.googlegroups.com> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="16184"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/mFK5uCIQ6Y7h/zvd+Se2HYhsTFRI6fl8=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (darwin) Cancel-Lock: sha1:LRMTsxN1U/++ylYAw2TmeHrKUV0= sha1:M3wmd1FG0D/4iDQeGvch5gqa5Gg= Content-Type: text/plain; charset=us-ascii Date: 2012-02-11T08:53:06+00:00 List-Id: Adam Beneschan writes: > Yep, the arguments to Arctan in Ada (and I believe the arguments to > ATAN2 in Fortran) are (Y, X). Which presents a fine opportunity for confusion when you're dealing with Bearing (zero at North, positive clockwise); you say Arctan (X, Y).