I need to align real values divided by some positive constant to nearest lower integer, regardless of their sign. Example are ( here the backslash represents my desired operator)
21,5 \ 2 = 10
-21,5 \ 2 = -11
52,3 \ 2 = 26
-52,3 \ 2 = -27
Is there a short operator that does this ? the usual "slash" ( "/" ) operator rounds towards zero in C++ (that was made standard some time ago) (e.g. -52.6 / 2 = -26).