Lumiera
0.pre.03
»edit your freedom«
|
This function is relevant for decimating values into a given scale, like splitting time measurements in hours, minutes, seconds etc. Basically, in Lumiera the quantisation into a scale is always done with the same orientation, irrespective of the zero point on the given scale. Contrast this to the built-in integer division and modulo operators working symmetrical to zero.
Definition at line 52 of file util-floorwrap-test.cpp.
Private Member Functions | |
template<typename I > | |
void | checkWrap (I range, I scale) |
virtual void | run (Arg arg) |
template<typename I > | |
void | showWrap (I val, I scale) |