1QECVT(3) Linux Programmer's Manual QECVT(3)
2
3
4
6 qecvt, qfcvt, qgcvt - convert a floating-point number to a string
7
9 #include <stdlib.h>
10
11 char *qecvt(long double number, int ndigits, int *decpt, int *sign);
12
13 char *qfcvt(long double number, int ndigits, int *decpt, int *sign);
14
15 char *qgcvt(long double number, int ndigit, char *buf);
16
18 The functions qecvt(), qfcvt() and qgcvt() are identical to ecvt, fcvt
19 and gcvt respectively, except that they use a long double argument num‐
20 ber. See ecvt(3) and gcvt(3).
21
23 These functions are obsolete. Instead, sprintf() is recommended.
24
26 SVr4. Not seen in most common Unix implementations, but occurs in
27 SunOS. Not supported by libc4 and libc5. Supported by glibc.
28
30 ecvt(3), ecvt_r(3), gcvt(3), sprintf(3)
31
32
33
34GNU 2002-08-25 QECVT(3)