Mail Archives: djgpp-workers/2004/02/18/11:46:56
--part1_1d2.19fe4c86.2d64ee60_boundary
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
In a message dated 2/18/2004 10:42:56 AM Eastern Standard Time,
rudd AT cyberoptics DOT com writes:
> Since, for example, inf/inf is outside the domain over which the arc
> tangent function is defined, it would seem that a domain error should occur.
>
It is not clear to which function you are referring. The case atan2(Y, X) is
handled in the standard:
If Y is +-Inf and X is -Inf, +-3pi/4 shall be returned.
If Y is +-Inf and X is +Inf, +-pi/4 shall be returned.
--part1_1d2.19fe4c86.2d64ee60_boundary
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
<HTML><FONT FACE=3Darial,helvetica><HTML><FONT SIZE=3D3 PTSIZE=3D12 FAMILY=
=3D"SERIF" FACE=3D"Georgia" LANG=3D"0">In a message dated 2/18/2004 10:42:56=
AM Eastern Standard Time, rudd AT cyberoptics DOT com writes:<BR>
<BR>
<BLOCKQUOTE TYPE=3DCITE style=3D"BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT=
: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px"></FONT><FONT COLOR=3D"#000000"=
BACK=3D"#ffffff" style=3D"BACKGROUND-COLOR: #ffffff" SIZE=3D2 PTSIZE=3D10 F=
AMILY=3D"SANSSERIF" FACE=3D"Arial" LANG=3D"0">Since, for example, inf/inf is=
outside the domain over which the arc <BR>
tangent function is defined, it would seem that a domain error should occur.=
<BR>
</BLOCKQUOTE><BR>
</FONT><FONT COLOR=3D"#000000" BACK=3D"#ffffff" style=3D"BACKGROUND-COLOR:=20=
#ffffff" SIZE=3D3 PTSIZE=3D12 FAMILY=3D"SERIF" FACE=3D"Georgia" LANG=3D"0"><=
BR>
It is not clear to which function you are referring. The case atan2(Y,=
X) is handled in the standard:<BR>
<BR>
If Y is +-Inf and X is -Inf, +-3pi/4 sh=
all be returned.<BR>
If Y is +-Inf and X is +Inf, +-pi/4 sha=
ll be returned.</FONT></HTML>
--part1_1d2.19fe4c86.2d64ee60_boundary--
- Raw text -