isblank() implementation.
[minix.git] / lib / libc / stdio / ecvt.c
blobd4e0ed7f8880439dc6bfc77b32b53020e4fdbc57
1 /* $Header$ */
3 #ifndef NOFLOAT
5 #include "../ansi/ext_fmt.h"
6 void _dbl_ext_cvt(double value, struct EXTEND *e);
7 char *_ext_str_cvt(struct EXTEND *e, int ndigit, int *decpt, int * sign, int ecvtflag);
9 static char *
10 cvt(long double value, int ndigit, int *decpt, int *sign, int ecvtflag)
12 struct EXTEND e;
14 _dbl_ext_cvt(value, &e);
15 return _ext_str_cvt(&e, ndigit, decpt, sign, ecvtflag);
18 char *
19 _ecvt(long double value, int ndigit, int *decpt, int *sign)
22 return cvt(value, ndigit, decpt, sign, 1);
25 char *
26 _fcvt(long double value, int ndigit, int *decpt, int *sign)
28 return cvt(value, ndigit, decpt, sign, 0);
31 #endif /* NOFLOAT */