#include "half.hpp" HALF_RESULT_TYPE half(int val) { return static_cast(val / 2.0); }