math_func: template functions