Re: Ada 95 ARCTAN function
- From: "Adam Beneschan" <adam@xxxxxxxxxx>
- Date: 1 Mar 2007 12:03:05 -0800
On Mar 1, 11:38 am, Jacob Sparre Andersen <spa...@xxxxxx> wrote:
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.
The Unix "man" page for atan2 has some information. It's not as
detailed as the Ada manual, because after all this is C and providing
specific details would infringe on the inalienable right of C
programmers to shoot themselves in the foot. However, the man page
I'm looking at does say:
(1) that the result is between -pi and pi (inclusive), and
(2) the signs of both arguments are used to determine the quadrant of
the result.
So I'd guess that the semantics are probably the same.
-- Adam
.
- Follow-Ups:
- Re: Ada 95 ARCTAN function
- From: Keith Thompson
- Re: Ada 95 ARCTAN function
- References:
- Ada 95 ARCTAN function
- From: saag
- Re: Ada 95 ARCTAN function
- From: Jacob Sparre Andersen
- Ada 95 ARCTAN function
- Prev by Date: Re: Ada 95 ARCTAN function
- Next by Date: RE: GNAT on MinGW
- Previous by thread: Re: Ada 95 ARCTAN function
- Next by thread: Re: Ada 95 ARCTAN function
- Index(es):