Changeset c41fbf in git
 Timestamp:
 May 17, 2010, 7:19:45 PM (14 years ago)
 Branches:
 (u'fiekerDuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c7af8613769b29c741d6c338945669719f1fc4f8')
 Children:
 78e67ebed527a6a6c46377271737846d0daadcbd
 Parents:
 4f3b79efc8dad5c9a3fd5fda10687e411d13eb1a
 Location:
 kernel
 Files:

 2 edited
Legend:
 Unmodified
 Added
 Removed

kernel/gnumpc.cc
r4f3b79 rc41fbf 382 382 return (((gmp_complex*)b)>real().sign() < 0); 383 383 } 384 if ( b==NULL )384 else if ( b==NULL ) 385 385 { 386 386 return (((gmp_complex*)a)>real().sign() < 0); 387 } 388 else 389 { 390 return ((gmp_complex*)a) > ((gmp_complex*)b); 387 391 } 388 392 return FALSE; 
kernel/mpr_complex.h
r4f3b79 rc41fbf 215 215 216 216 inline friend bool operator == ( const gmp_complex & a, const gmp_complex & b ); 217 inline friend bool operator > ( const gmp_complex & a, const gmp_complex & b ); 218 inline friend bool operator < ( const gmp_complex & a, const gmp_complex & b ); 219 inline friend bool operator >= ( const gmp_complex & a, const gmp_complex & b ); 220 inline friend bool operator <= ( const gmp_complex & a, const gmp_complex & b ); 217 221 218 222 inline gmp_complex & operator = ( const gmp_complex & a ); … … 255 259 return ( b.real() == a.real() ) && ( b.imag() == a.imag() ); 256 260 } 261 inline bool operator > ( const gmp_complex & a, const gmp_complex & b ) 262 { 263 return ( a.real() > b.real() ); 264 } 265 inline bool operator < ( const gmp_complex & a, const gmp_complex & b ) 266 { 267 return ( a.real() < b.real() ); 268 } 269 inline bool operator >= ( const gmp_complex & a, const gmp_complex & b ) 270 { 271 return ( a.real() >= b.real() ); 272 } 273 inline bool operator <= ( const gmp_complex & a, const gmp_complex & b ) 274 { 275 return ( a.real() <= b.real() ); 276 } 277 257 278 258 279 // <gmp_complex> = <gmp_complex>
Note: See TracChangeset
for help on using the changeset viewer.