update for HEAD-2003091401
[reactos.git] / lib / msvcrt / stdlib / fcvt.c
1 /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */
2 #include <msvcrt/stdlib.h>
3 #include <msvcrt/float.h>
4
5 char *fcvtbuf (double, int, int *, int *, char *);
6
7 /*
8  * @implemented
9  */
10 char *
11 _fcvt (double value, int ndigits, int *decpt, int *sign)
12 {
13   static char fcvt_buf[2 * DBL_MAX_10_EXP + 10];
14   return fcvtbuf (value, ndigits, decpt, sign, fcvt_buf);
15 }