3rdParty/boost/1.78.0/libs/preprocessor/doc/ref/div.html
The BOOST_PP_DIV macro expands to the quotient of its arguments.
BOOST_PP_DIV (x, y)
x The dividend (numerator) of the operation. Valid values range from 0 to BOOST_PP_LIMIT_MAG. y The divisor (denominator) of the operation. Valid values range from 1 to BOOST_PP_LIMIT_MAG.
Previously, this macro could not be used inside BOOST_PP_WHILE. There is no longer any such restriction. It is more efficient, however, to use BOOST_PP_DIV_D in such a situation.
If y is 0, the result is undefined.
Header: <boost/preprocessor/arithmetic/div.hpp>
#include <[boost/preprocessor/arithmetic/div.hpp](../headers/arithmetic/div.html)>[BOOST\_PP\_DIV](div.html)(11, 5) // expands to 2
Copyright Housemarque Oy 2002 Copyright Paul Mensonides 2002
Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at www.boost.org/LICENSE_1_0.txt)