Fourquadrant inverse tangent of fixedpoint values
z = atan2(y,x)
z = atan2(y,x)
returns the fourquadrant arctangent of
fi input y/x
using a tablelookup algorithm.



This arctangent calculation is accurate only to within the top 16 mostsignificant bits of the input. 
Calculate the arctangent of unsigned and signed fixedpoint input values. The first example uses unsigned, 16bit word length values. The second example uses signed, 16bit word length values.
y = fi(0.125,0,16); x = fi(0.5,0,16); z = atan2(y,x) z = 0.2450 DataTypeMode: Fixedpoint: binary point scaling Signedness: Unsigned WordLength: 16 FractionLength: 15 y = fi(0.1,1,16); x = fi(0.9,1,16); z = atan2(y,x) z = 3.0309 DataTypeMode: Fixedpoint: binary point scaling Signedness: Signed WordLength: 16 FractionLength: 13