~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/m_string.h

  • Committer: Brian Aker
  • Date: 2011-04-21 06:25:01 UTC
  • mfrom: (2283.2.2 drizzle-ga)
  • Revision ID: brian@tangent.org-20110421062501-ar72kil0t91mp01q
Rollup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
*/
95
95
#define MAX_DECPT_FOR_F_FORMAT DBL_DIG
96
96
 
97
 
/*
98
 
  The maximum possible field width for my_gcvt() conversion.
99
 
  (DBL_DIG + 2) significant digits + sign + "." + ("e-NNN" or
100
 
  MAX_DECPT_FOR_F_FORMAT zeros for cases when |x|<1 and the 'f' format is used).
101
 
*/
102
 
#define MY_GCVT_MAX_FIELD_WIDTH (DBL_DIG + 4 + cmax(5, MAX_DECPT_FOR_F_FORMAT))
103
 
 
104
 
 
105
97
extern char *llstr(int64_t value,char *buff);
106
98
extern char *ullstr(int64_t value,char *buff);
107
99