~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/dtoa.cc

  • Committer: Brian Aker
  • Date: 2009-08-06 15:04:21 UTC
  • mfrom: (1093.1.52 captain)
  • Revision ID: brian@gaz-20090806150421-w8yrasl1m8exorxs
Merge Jay

Show diffs side-by-side

added added

removed removed

Lines of Context:
213
213
  if (x < 0.)
214
214
    width--;
215
215
 
216
 
  res= dtoa(x, 4, type == MY_GCVT_ARG_DOUBLE ? width : min(width, FLT_DIG),
217
 
            &decpt, &sign, &end);
 
216
  res= dtoa(x, 4, type == MY_GCVT_ARG_DOUBLE ? min(width, DBL_DIG) : 
 
217
            min(width, FLT_DIG), &decpt, &sign, &end);
218
218
 
219
219
  if (decpt == DTOA_OVERFLOW)
220
220
  {