View Single Post
  #3   Spotlight this post!  
Unread 21-01-2012, 21:25
Betty Boop Betty Boop is offline
Registered User
no team
 
Join Date: Jan 2012
Location: Philippines
Posts: 14
Betty Boop is an unknown quantity at this point
Re: (FPGA) high throughput inverse tangent 2 input

*The output is not yet multiplied to pi so that it is expressed in pi radians.

input: y = 1, x = 2
output: 0.1482 (correct)

input: y = -1, x = 2
output: -0.1482 (correct)

input: y = 1, x = -2
output: 0.8542 (even the sign is wrong)

input: y = -1, x=-2
output: -0.8518 (sign is again wrong and from my observation, it doesn't take into account the sign of x)
Reply With Quote