#include <cstring>#include <ixlib_base.hh>#include <ixlib_exgen.hh>Go to the source code of this file.
Namespaces | |
| namespace | ixion |
Defines | |
| #define | NUM_MIN(a, b) ( (a)<(b) ? (a) : (b) ) |
| #define | NUM_MAX(a, b) ( (a)>(b) ? (a) : (b) ) |
| #define | NUM_ABS(a) ( (a)<0 ? (-(a)) : (a) ) |
| #define | NUM_LIMIT(lower, value, upper) ( NUM_MAX(lower,NUM_MIN(upper,vallue)) ) |
| #define | NUM_INBOUND(lower, value, upper) (((lower) <= (value)) && ((value) <= (upper))) |
| #define | NUM_OVERLAP(a1, a2, b1, b2) ((((a1)<=(b1))&&((a2)>(b1)))||(((a1)<(b2))&&((a2)>(b2)))||(((a1)>=(b1))&&((a2)<=(b2)))) |
| #define | NUM_CIRCLEINC(index, size) ( ((index)+1) >= (size) ? 0 : ((index)+1) ) |
| #define | NUM_CIRCLEDIST(head, tail, size) ( (head)<(tail) ? ((head)+(size)-(tail)) : ((head)-(tail)) ) |
|
|
Definition at line 31 of file ixlib_numeric.hh. Referenced by ixion::float_random::init(), and ixion::number_traits::norm().
|
|
|
Definition at line 42 of file ixlib_numeric.hh. Referenced by ixion::ring_queue::size().
|
|
|
Definition at line 40 of file ixlib_numeric.hh. |
|
|
Definition at line 36 of file ixlib_numeric.hh. |
|
|
Definition at line 34 of file ixlib_numeric.hh. |
|
|
Definition at line 30 of file ixlib_numeric.hh. |
|
|
Definition at line 29 of file ixlib_numeric.hh. |
|
|
Definition at line 38 of file ixlib_numeric.hh. Referenced by ixion::rectangle::intersects().
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001