22 #include <drizzled/function/func.h>
23 #include <drizzled/function/num_op.h>
32 uint32_t prec_increment;
34 int64_t
int_op() { assert(0);
return 0; }
37 const char *func_name()
const {
return "/"; }
38 void fix_length_and_dec();
39 void result_precision();
type::Decimal * decimal_op(type::Decimal *)
Performs the operation that this functions implements when the result type is DECIMAL.
TODO: Rename this file - func.h is stupid.
double real_op()
Performs the operation that this functions implements when the result type is REAL.
int64_t int_op()
Performs the operation that this functions implements when the result type is INT.