Re: Change made to atan2()

From: Xavier Bestel <Xavier_Bestel_at_.....>
Date: Thu Sep 27 2007 - 23:37:27 PDT
On Wed, 2007-09-26 at 09:04 -0500, David Miller wrote:
> Hi, Ken pointed out to me that the atan2() function in the LRM differs from the 
> C (and other programming languages, matlab etc.) definition.
> 
> currently in the LRM (chap 4) we define atan2()
> atan2(x,y) - arc tangent x / y
> 
> This is also the same as the definition in the Verilog 2005 standard (which I 
> guess we cut and pasted).
> 
> This function should be defined as:
> atan2(y,x) - arc tangent y / x
> 
> Unless anyone strongly objects, I will go ahead and correct this definition.

You just repeated the same error :)

The function should be defined as:
atan2(x,y) - arc tangent y / x


Cheers,
	Xav


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Sep 27 23:37:47 2007

This archive was generated by hypermail 2.1.8 : Thu Sep 27 2007 - 23:38:01 PDT