![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
Typedefs | |
| typedef std::vector< int > | VecI |
Functions | |
| VecI | buildTestNumberz (uint cnt) |
| long | integerDiv (long num, long den) |
| the built-in integer division operator, packaged as inline function for timing comparison | |
| long | floordiv_alternate (long num, long den) |
| an alternate formulation, which turned out to perform slightly worse | |
Variables | |
| const uint | NUM_ELMS_PERFORMANCE_TEST = 50000000 |
| const uint | NUMBER_LIMIT = 1 << 30 |
| typedef std::vector<int> VecI |
Definition at line 45 of file util-floordiv-test.cpp.
Definition at line 48 of file util-floordiv-test.cpp.
References buildTestNumberz(), and NUMBER_LIMIT.
Referenced by buildTestNumberz().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
the built-in integer division operator, packaged as inline function for timing comparison
Definition at line 66 of file util-floordiv-test.cpp.
References integerDiv().
Referenced by integerDiv().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
an alternate formulation, which turned out to perform slightly worse
Definition at line 76 of file util-floordiv-test.cpp.
References floordiv_alternate().
Referenced by floordiv_alternate().
Here is the call graph for this function:
Here is the caller graph for this function:| const uint NUM_ELMS_PERFORMANCE_TEST = 50000000 |
Definition at line 42 of file util-floordiv-test.cpp.
| const uint NUMBER_LIMIT = 1 << 30 |
Definition at line 43 of file util-floordiv-test.cpp.
Referenced by buildTestNumberz().