1% =========================================================================== %
2%> @brief convert a number to a direction
4%> @param num number to convert
6%> @retval dir direction (positive, negative)
13%> @copyright see the file @ref LICENSE in the root directory of the repository
14% =========================================================================== %
28 error("The number %d does not correspond to a direction", num)
function num2direction(in num)
convert a number to a direction