~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/decimal.h

  • Committer: Brian Aker
  • Date: 2010-12-24 07:53:15 UTC
  • mfrom: (2024.1.3 clean)
  • Revision ID: brian@tangent.org-20101224075315-qiwlw4rc1bwx1p2m
MergeĀ inĀ CAST.

Show diffs side-by-side

added added

removed removed

Lines of Context:
175
175
                  buffer[i]= i;
176
176
        #endif
177
177
  }
 
178
 
178
179
  my_decimal()
179
180
  {
180
181
    init();
185
186
  uint32_t precision() const { return intg + frac; }
186
187
};
187
188
 
 
189
std::ostream& operator<<(std::ostream& output, const my_decimal &dec);
 
190
 
188
191
int decimal_operation_results(int result);
189
192
 
190
193
inline void max_my_decimal(my_decimal *to, int precision, int frac)