22#include <drizzled/function/func.h>
23#include <drizzled/function/num1.h>
28class Item_func_abs :
public Item_func_num1
31 Item_func_abs() :Item_func_num1() {}
35 const char *func_name()
const {
return "abs"; }
36 void fix_length_and_dec();
bool check_argument_count(int n)
type::Decimal * decimal_op(type::Decimal *)
Performs the operation that this functions implements when the result type is DECIMAL.
int64_t int_op()
Performs the operation that this functions implements when the result type is INT.
double real_op()
Performs the operation that this functions implements when the result type is REAL.
TODO: Rename this file - func.h is stupid.