~stewart/drizzle/docs-improvements-1

« back to all changes in this revision

Viewing changes to drizzled/function/math/real.h

merged with up to date trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems
 
4
 *  Copyright (C) 2008 Sun Microsystems, Inc.
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
33
33
  Item_real_func(Item *a,Item *b) :Item_func(a,b) {}
34
34
  Item_real_func(List<Item> &list) :Item_func(list) {}
35
35
  String *val_str(String*str);
36
 
  my_decimal *val_decimal(my_decimal *decimal_value);
 
36
  type::Decimal *val_decimal(type::Decimal *decimal_value);
37
37
  int64_t val_int();
38
38
  enum Item_result result_type () const { return REAL_RESULT; }
39
39
  void fix_length_and_dec();