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
17 Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
18
19 qecvt(), qfcvt(), qgcvt(): _SVID_SOURCE || _BSD_SOURCE ||
20 _XOPEN_SOURCE >= 500
21
23 The functions qecvt(), qfcvt() and qgcvt() are identical to ecvt(3),
24 fcvt(3) and gcvt(3) respectively, except that they use a long double
25 argument number. See ecvt(3) and gcvt(3).
26
28 SVr4. Not seen in most common Unix implementations, but occurs in
29 SunOS. Not supported by libc4 and libc5. Supported by glibc.
30
32 These functions are obsolete. Instead, sprintf(3) is recommended.
33
35 ecvt(3), ecvt_r(3), gcvt(3), sprintf(3)
36
38 This page is part of release 3.22 of the Linux man-pages project. A
39 description of the project, and information about reporting bugs, can
40 be found at http://www.kernel.org/doc/man-pages/.
41
42
43
44GNU 2007-07-26 QECVT(3)