I missed one more thing. This
function internally evaluates real values (i.e., float4 and float8) and integer types.
Tajo follow a strong typed system. Through out the system, we assume that parameters are passed to a function with specified typed values defined in the function.
Instead, we have a plan to implement auto casting mechanism for user convenience.
So, I would like to suggest that this function evaluates only int8 type values.