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,FREEMAIL_FROM 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 Path: g2news1.google.com!postnews.google.com!f25g2000yqc.googlegroups.com!not-for-mail From: Ada novice Newsgroups: comp.lang.ada Subject: Re: Arctan: to use with single or with double arguments? Date: Sat, 25 Sep 2010 14:34:14 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <908e7aea-ed77-4dce-9f5d-e6341abc1303@s19g2000vbr.googlegroups.com> <53a2a6fa-9d48-4486-b5c7-aea81a026a82@x18g2000pro.googlegroups.com> NNTP-Posting-Host: 193.11.22.91 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1285450454 9119 127.0.0.1 (25 Sep 2010 21:34:14 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 25 Sep 2010 21:34:14 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f25g2000yqc.googlegroups.com; posting-host=193.11.22.91; posting-account=Rr9I-QoAAACS-nOzpA-mGxtAlZ46Nb6I User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 (.NET CLR 3.5.30729),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:14257 Date: 2010-09-25T14:34:14-07:00 List-Id: On Sep 25, 7:31=A0pm, Jeffrey Carter wrote: > On 09/25/2010 01:44 AM, Ada novice wrote: > > > > > In my expression: Z =3D Force * Sin (A) then it was unclear to me if A > > in Sin (A) should be limited to -pi/2 to > > pi/2 or can can it from to -pi to pi. > > OK. I can talk about what Ada provides, but I can't help you with domain = questions. > > -- > Jeff Carter > "We'll make Rock Ridge think it's a chicken > that got caught in a tractor's nuts!" > Blazing Saddles > 87 It's ok. There's a good article on Arctan and Arctan2 at: http://en.wikipedia.org/wiki/Atan2 After reading that article, I decided to use Arctan2. I don't really know why Arctan exists in the first place :). Cheers YC