22 #include <drizzled/function/math/minus.h>
23 #include <drizzled/type/decimal.h>
35 Item_num_op::fix_length_and_dec();
46 return fix_result(value);
72 (class_decimal_sub(E_DEC_FATAL_ERROR, decimal_value, val1,
virtual int64_t val_int()=0
TODO: Rename this file - func.h is stupid.
double real_op()
Performs the operation that this functions implements when the result type is REAL.
void fix_length_and_dec()
type::Decimal * decimal_op(type::Decimal *)
virtual double val_real()=0
int64_t int_op()
Performs the operation that this functions implements when the result type is INT.
virtual type::Decimal * val_decimal(type::Decimal *decimal_buffer)=0