~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/functions/real.h

  • Committer: Monty Taylor
  • Date: 2008-11-02 03:17:55 UTC
  • mto: (520.4.45 devel)
  • mto: This revision was merged to the branch mainline in revision 573.
  • Revision ID: monty@inaugust.com-20081102031755-cpzp7dlqoa7rcs1v
Removed a bunch of unusued tests and defines from autoconf.
Fixed the way we were doing cmath - and moved it out of global.h. Still probably
isn't right for Sun Studio, but we're getting closer I think.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
  Item_real_func(List<Item> &list) :Item_func(list) {}
32
32
  String *val_str(String*str);
33
33
  my_decimal *val_decimal(my_decimal *decimal_value);
34
 
  int64_t val_int()
35
 
    { assert(fixed == 1); return (int64_t) rint(val_real()); }
 
34
  int64_t val_int();
36
35
  enum Item_result result_type () const { return REAL_RESULT; }
37
 
  void fix_length_and_dec()
38
 
  { decimals= NOT_FIXED_DEC; max_length= float_length(decimals); }
 
36
  void fix_length_and_dec();
39
37
};
40
38
 
41
39
#endif /* DRIZZLED_FUNCTIONS_REAL_H */