~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/dtoa.c

  • Committer: Monty Taylor
  • Date: 2008-07-31 19:56:51 UTC
  • mto: (202.3.5 gettextize)
  • mto: This revision was merged to the branch mainline in revision 243.
  • Revision ID: monty@inaugust.com-20080731195651-8rolsypajn99uc2p
Some cleanups/decoupling in mystring.

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
   @return            number of written characters (excluding terminating '\0')
84
84
*/
85
85
 
86
 
size_t my_fcvt(double x, int precision, char *to, my_bool *error)
 
86
size_t my_fcvt(double x, int precision, char *to, bool *error)
87
87
{
88
88
  int decpt, sign, len, i;
89
89
  char *res, *src, *end, *dst= to;
207
207
*/
208
208
 
209
209
size_t my_gcvt(double x, my_gcvt_arg_type type, int width, char *to,
210
 
               my_bool *error)
 
210
               bool *error)
211
211
{
212
212
  int decpt, sign, len, exp_len;
213
213
  char *res, *src, *end, *dst= to, *dend= dst + width;