Lines Matching refs:x
65 f.x = (((b.x+FIX_A2)>>FIX_P2)*a.x+FIX_A3)>>FIX_P3; in ImpMultBig2()
143 Mul.r.x = CosTab[i]>>Sft; // e**(i(phi1+phi2)) = in ImpExPI()
144 Mul.i.x = SinTab[i]>>Sft; // e**(i*phi1)) * e**(i*phi2)) in ImpExPI()
168 long x = rX.x; in ImpATanx2() local
169 long y = rY.x; in ImpATanx2()
178 if ( (x==0) && (y==0) ) in ImpATanx2()
187 x *= -1; in ImpATanx2()
190 if ( x < 0) in ImpATanx2()
196 y = -x; in ImpATanx2()
197 x = z; in ImpATanx2()
202 aInc.r.x = CosTab[i]>>Sft; // e**(i(phi1+phi2)) = in ImpATanx2()
203 aInc.i.x = SinTab[i]>>Sft; // e**(i*phi1)) * e**(i*phi2)) in ImpATanx2()
209 if ( aTry.r.x >= x ) in ImpATanx2()
218 if ( aTry.i.x <= y ) in ImpATanx2()
242 sal_uInt16 ImpATan2( const short x, const short y ) in ImpATan2() argument
244 Fix rRad = ImpSqrt(sal_uLong(long(x)*x+long(y)*y)); in ImpATan2()
246 if ( !rRad.x ) in ImpATan2()
248 Fix fx = x; in ImpATan2()
266 void ImpCartToPolar( const short x, const short y, Fix& rRad, sal_uInt16& rPhi ) in ImpCartToPolar() argument
268 rRad = Fix( ImpSqrt( sal_uLong( long(x)*x+long(y)*y ) ) ); in ImpCartToPolar()
270 if ( !rRad.x ) in ImpCartToPolar()
275 Fix fx = x; in ImpCartToPolar()