Changeset 360 for trunk/ADOLC/include
 Timestamp:
 Oct 19, 2012 5:22:43 AM (7 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/ADOLC/include/adolc/adouble.h
r354 r360 136 136 /**/ 137 137 /* Comparison (friends) */ 138 inline friend int operator != ( const badouble&, const badouble& ); 138 friend ADOLC_DLL_EXPORT adub operator != ( const badouble&, const badouble& ); 139 //inline friend int operator != ( const badouble&, const badouble& ); 139 140 inline friend int operator != ( double, const badouble& ); 140 141 friend ADOLC_DLL_EXPORT int operator != ( const badouble&, double ); 141 inline friend int operator == ( const badouble&, const badouble& ); 142 friend ADOLC_DLL_EXPORT adub operator == ( const badouble&, const badouble& ); 143 //inline friend int operator == ( const badouble&, const badouble& ); 142 144 inline friend int operator == ( double, const badouble& ); 143 145 friend ADOLC_DLL_EXPORT int operator == ( const badouble&, double ); 144 inline friend int operator <= ( const badouble&, const badouble& ); 146 friend ADOLC_DLL_EXPORT adub operator <= ( const badouble&, const badouble& ); 147 //inline friend int operator <= ( const badouble&, const badouble& ); 145 148 inline friend int operator <= ( double, const badouble& ); 146 149 friend ADOLC_DLL_EXPORT int operator <= ( const badouble&, double ); 147 inline friend int operator >= ( const badouble&, const badouble& ); 150 friend ADOLC_DLL_EXPORT adub operator >= ( const badouble&, const badouble& ); 151 //inline friend int operator >= ( const badouble&, const badouble& ); 148 152 inline friend int operator >= ( double, const badouble& ); 149 153 friend ADOLC_DLL_EXPORT int operator >= ( const badouble&, double ); 150 inline friend int operator > ( const badouble&, const badouble& ); 154 friend ADOLC_DLL_EXPORT adub operator > ( const badouble&, const badouble& ); 155 //inline friend int operator > ( const badouble&, const badouble& ); 151 156 inline friend int operator > ( double, const badouble& ); 152 157 friend ADOLC_DLL_EXPORT int operator > ( const badouble&, double ); 153 inline friend int operator < ( const badouble&, const badouble& ); 158 friend ADOLC_DLL_EXPORT adub operator < ( const badouble&, const badouble& ); 159 //inline friend int operator < ( const badouble&, const badouble& ); 154 160 inline friend int operator < ( double, const badouble& ); 155 161 friend ADOLC_DLL_EXPORT int operator < ( const badouble&, double ); … … 269 275 public: 270 276 277 /**/ 278 /* Comparison (friends) */ 279 friend ADOLC_DLL_EXPORT adub operator != ( const badouble&, const badouble& ); 280 friend ADOLC_DLL_EXPORT adub operator == ( const badouble&, const badouble& ); 281 friend ADOLC_DLL_EXPORT adub operator <= ( const badouble&, const badouble& ); 282 friend ADOLC_DLL_EXPORT adub operator >= ( const badouble&, const badouble& ); 283 friend ADOLC_DLL_EXPORT adub operator < ( const badouble&, const badouble& ); 284 friend ADOLC_DLL_EXPORT adub operator > ( const badouble&, const badouble& ); 271 285 /**/ 272 286 /* sign operators (friends) */ … … 379 393 /**/ 380 394 /* Comparison */ 395 /* 381 396 inline int operator != ( const badouble& u, const badouble& v ) { 382 397 return (uv != 0); 383 398 } 399 */ 384 400 385 401 inline int operator != ( double coval, const badouble& v) { … … 390 406 } 391 407 408 /* 392 409 inline int operator == ( const badouble& u, const badouble& v ) { 393 410 return (uv == 0); 394 411 } 412 */ 395 413 396 414 inline int operator == ( double coval, const badouble& v) { … … 401 419 } 402 420 421 /* 403 422 inline int operator <= ( const badouble& u, const badouble& v ) { 404 423 return (uv <= 0); 405 424 } 425 */ 406 426 407 427 inline int operator <= ( double coval, const badouble& v ) { … … 412 432 } 413 433 434 /* 414 435 inline int operator >= ( const badouble& u, const badouble& v ) { 415 436 return (uv >= 0); 416 437 } 438 */ 417 439 418 440 inline int operator >= ( double coval, const badouble& v ) { … … 423 445 } 424 446 447 /* 425 448 inline int operator > ( const badouble& u, const badouble& v ) { 426 449 return (uv > 0); 427 450 } 451 */ 428 452 429 453 inline int operator > ( double coval, const badouble& v ) { … … 434 458 } 435 459 460 /* 436 461 inline int operator < ( const badouble& u, const badouble& v ) { 437 462 return (uv < 0); 438 463 } 464 */ 439 465 440 466 inline int operator < ( double coval, const badouble& v ) {
Note: See TracChangeset
for help on using the changeset viewer.