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,f8351dd592017faf X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.albasani.net!nuzba.szn.dk!news.jacob-sparre.dk!pnx.dk!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: Ada 95 ARCTAN function Date: Thu, 01 Mar 2007 20:38:48 +0100 Organization: Jacob's private Usenet server Message-ID: References: <1172775505.390886.213420@t69g2000cwt.googlegroups.com> NNTP-Posting-Host: taasingegade.news.jacob-sparre.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: jacob-sparre.dk 1172777928 9846 85.82.239.166 (1 Mar 2007 19:38:48 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Thu, 1 Mar 2007 19:38:48 +0000 (UTC) User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:j8LXBsj+JtkUCpOBTDcOdOT4eEk= Xref: g2news2.google.com comp.lang.ada:9628 Date: 2007-03-01T20:38:48+01:00 List-Id: "saag" writes: > Does the ARCTAN(y,x) function in the ADA.NUMERICS package provide the > same results an atan2 function call in c? I'm trying to find out if > Ada supplies an atan2 function (that gives an appropriate answer based > on the quadrant the original point lies in) You can find the specification of how function Arctan works on . I don't know where I can find the corresponding specification for the C function atan2(), so I can't give you a proper comparison. Greetings, Jacob -- I'm giving a short talk at Game Developers Conference (Mobile Game Innovation Hunt) Monday afternoon: http://www.gdconf.com/conference/gdcmobile_hunt.htm