![]() |
Lumiera 0.pre.04
»edit your freedom«
|
Definition at line 103 of file util-floordiv-test.cpp.
Private Member Functions | |
| virtual void | run (Arg arg) |
| void | verifyBehaviour () |
| template<typename I > | |
| void | verifyIntegerTypes () |
| void | runPerformanceTest () |
|
inlineprivatevirtual |
Definition at line 107 of file util-floordiv-test.cpp.
References util::isnil(), UtilFloordiv_test::runPerformanceTest(), and UtilFloordiv_test::verifyBehaviour().
Here is the call graph for this function:
|
inlineprivate |
Definition at line 125 of file util-floordiv-test.cpp.
References util::floordiv().
Referenced by UtilFloordiv_test::run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 157 of file util-floordiv-test.cpp.
References util::floordiv().
Here is the call graph for this function:
|
inlineprivate |
Verification.......... 127.7 Integer_div........... 111.7 double_floor.......... 74.8 floordiv_int.......... 112.7 floordiv_long......... 119.8 floordiv_int64_t...... 121.4 floordiv_long_alt..... 122.7
These figures are the average of 6 runs with 50 million iterations each (as produced by this function)
fdiv() function also to divide the positive results, performs only slightly worse. So this implementation was chosen mainly because it seems to state its intent more clearly in code. Definition at line 208 of file util-floordiv-test.cpp.
References DISPLAY_TIMINGS, util::floordiv(), and START_TIMINGS.
Referenced by UtilFloordiv_test::run().
Here is the call graph for this function:
Here is the caller graph for this function:
Inheritance diagram for UtilFloordiv_test:
Collaboration diagram for UtilFloordiv_test: