Lines Matching +full:offset +full:- +full:y
44 .Fn atan2 "double y" "double x"
46 .Fn atan2f "float y" "float x"
48 .Fn atan2l "long double y" "long double x"
63 .Fa y/ Ns Fa x ,
94 .Fa y/ Ns Fa x
96 .Bk -words
101 .Bl -column atan_(y,x)_:=____ sign(y)_(Pi_atan2(Xy_xX))___
102 .It Fn atan2 y x No := Ta
103 .Fn atan y/x Ta
107 .It Ta sign( Ns Fa y Ns )*(\*(Pi -
114 if x = y = 0, or
116 .Pf sign( Fa y Ns )*\*(Pi/2 Ta
120 .Fa y .
133 .Bl -enum -offset indent
143 function is used mostly to convert from rectangular (x,y)
154 and y =
159 These equations are satisfied when (x=0,y=0)
167 .Bd -unfilled -offset indent
169 r := hypot(x,y); ... := sqrt(x\(**x+y\(**y)
170 theta := atan2(y,x).
173 r := hypot(x,y); ... := \(sr(x\u\s82\s10\d+y\u\s82\s10\d)
174 \(*h := atan2(y,x).
189 .Fn atan2 \(+-0 \-0
190 = \(+-\*(Pi
193 .Bd -unfilled -offset indent
195 r := sqrt(x\(**x+y\(**y); if r = 0 then x := copysign(1,x);
197 r := \(sr(x\(**x+y\(**y);\0\0if r = 0 then x := copysign(1,x);
222 .St -isoC-99 .