Lines Matching refs:a
89 void operator+= ( const Fix& a ) { x+=a.x; } in operator +=() argument
90 void operator-= ( const Fix& a ) { x-=a.x; } in operator -=() argument
91 void operator*= ( const Fix& a ) { x=(x*a.x+FIX_ADD)>>FIX_POST; } in operator *=() argument
92 void operator/= ( const Fix& a ) { x=(x<<FIX_POST)/a.x; } in operator /=() argument
93 friend Fix operator- ( const Fix& a );
95 void MultBig( const Fix& a ) in MultBig() argument
96 { x=((((a.x+FIX_A2)>>FIX_P2)*x+FIX_A3)>>FIX_P3); } in MultBig()
97 void DivBig( const Fix& a ) in DivBig() argument
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 >() argument
101 friend sal_Bool operator< ( const Fix& a, const Fix& b ) { return a.x < b.x; } in operator <() argument
106 friend Fix operator+ ( const Fix& a, const Fix& b );
107 friend Fix operator- ( const Fix& a, const Fix& b );
108 friend Fix operator* ( const Fix& a, const Fix& b );
109 friend Fix operator/ ( const Fix& a, const Fix& b );
111 friend FixCpx operator-( const FixCpx& a );
128 FixCpx( Fix a ) : r( a ), i() {} in FixCpx() argument
129 FixCpx( Fix a, Fix b ) : r( a ), i( b ) {} in FixCpx() argument
137 friend FixCpx operator+ ( const FixCpx& a, const FixCpx& b );
138 friend FixCpx operator- ( const FixCpx& a, const FixCpx& b );
139 friend FixCpx operator* ( const FixCpx& a, const FixCpx& b );
140 friend FixCpx operator/ ( const FixCpx& a, const FixCpx& b );
141 friend FixCpx operator- ( const FixCpx& a );
144 inline Fix operator- ( const Fix& a ) in operator -() argument
147 f.x = -a.x; in operator -()
151 inline Fix operator+ ( const Fix& a, const Fix& b ) in operator +() argument
153 long l = a.x+b.x; in operator +()
157 inline Fix operator- ( const Fix& a, const Fix& b ) in operator -() argument
159 long l = a.x-b.x; in operator -()
163 inline Fix operator* ( const Fix& a, const Fix& b ) in operator *() argument
165 long l=(a.x*b.x+FIX_ADD)>>FIX_POST; in operator *()
169 inline Fix operator/ ( const Fix& a, const Fix& b ) in operator /() argument
171 long l=(a.x<<FIX_POST)/b.x; in operator /()
175 inline FixCpx operator- ( const FixCpx& a ) in operator -() argument
179 fc.r.x = -a.r.x; in operator -()
180 fc.i.x = -a.i.x; in operator -()
184 inline FixCpx operator+ ( const FixCpx& a, const FixCpx& b ) in operator +() argument
186 return FixCpx( a.r+b.r, a.i+b.i ); in operator +()
189 inline FixCpx operator- ( const FixCpx& a, const FixCpx& b ) in operator -() argument
191 return FixCpx( a.r-b.r, a.i-b.i ); in operator -()
201 inline FixCpx operator* ( const FixCpx& a, const FixCpx& b ) in operator *() argument
203 return FixCpx( a.r*b.r-a.i*b.i, a.r*b.i+a.i*b.r ); in operator *()
206 inline FixCpx operator/ ( const FixCpx& a, const FixCpx& b ) in operator /() argument
208 return FixCpx( (a.r*b.r+a.i*b.i)/(b.r*b.r+b.i*b.i), in operator /()
209 (b.r*a.r-a.r*b.i)/(b.r*b.r+b.i*b.i) ); in operator /()
214 Fix ImpMultBig2( const Fix& a, const Fix& b );