libmath_func macros optimization