Lines Matching refs:x

76 	long            x;  member in Fix
79 Fix() { x=0; } in Fix()
80 Fix( int i ) { x=(long(i)<<FIX_POST); } in Fix()
81 Fix( short l ) { x=(long(l)<<FIX_POST); } in Fix()
82 Fix( sal_uInt16 l ) { x=(long(l)<<FIX_POST); } in Fix()
83 Fix( long l ) { x=(l<<FIX_POST); } in Fix()
84 Fix( long Z, long N ) { x=(Z<<FIX_POST)/N; } in Fix()
86 void SetInternVal( long nVal ) { x=nVal; } in SetInternVal()
87 long GetInternVal() const { return x; } in GetInternVal()
89 void operator+= ( const Fix& a ) { x+=a.x; } in operator +=()
90 void operator-= ( const Fix& a ) { x-=a.x; } in operator -=()
91 void operator*= ( const Fix& a ) { x=(x*a.x+FIX_ADD)>>FIX_POST; } in operator *=()
92 void operator/= ( const Fix& a ) { x=(x<<FIX_POST)/a.x; } in operator /=()
96 { x=((((a.x+FIX_A2)>>FIX_P2)*x+FIX_A3)>>FIX_P3); } in MultBig()
98 { x=((x<<FIX_P3)/a.x)<<FIX_P2; } in DivBig()
100 friend sal_Bool operator> ( const Fix& a, const Fix& b ) { return a.x > b.x; } in operator >()
101 friend sal_Bool operator< ( const Fix& a, const Fix& b ) { return a.x < b.x; } in operator <()
103 operator long() const { return (x+FIX_ADD) >> FIX_POST; }
104 operator double() const { return double(x)/(1<<FIX_POST); }
147 f.x = -a.x; in operator -()
153 long l = a.x+b.x; in operator +()
159 long l = a.x-b.x; in operator -()
165 long l=(a.x*b.x+FIX_ADD)>>FIX_POST; in operator *()
171 long l=(a.x<<FIX_POST)/b.x; in operator /()
179 fc.r.x = -a.r.x; in operator -()
180 fc.i.x = -a.i.x; in operator -()
217 void ImpCartToPolar( const short x, const short y, Fix& rRad, sal_uInt16& rPhi );
221 sal_uInt16 ImpATan2( const short x, const short y );