]>
Commit | Line | Data |
---|---|---|
fea681da MK |
1 | .\" Copyright (C) 2002 Andries Brouwer <aeb@cwi.nl> |
2 | .\" | |
3 | .\" Permission is granted to make and distribute verbatim copies of this | |
4 | .\" manual provided the copyright notice and this permission notice are | |
5 | .\" preserved on all copies. | |
6 | .\" | |
7 | .\" Permission is granted to copy and distribute modified versions of this | |
8 | .\" manual under the conditions for verbatim copying, provided that the | |
9 | .\" entire resulting derived work is distributed under the terms of a | |
10 | .\" permission notice identical to this one. | |
11 | .\" | |
12 | .\" Since the Linux kernel and libraries are constantly changing, this | |
13 | .\" manual page may be incorrect or out-of-date. The author(s) assume no | |
14 | .\" responsibility for errors or omissions, or for damages resulting from | |
15 | .\" the use of the information contained herein. The author(s) may not | |
16 | .\" have taken the same level of care in the production of this manual, | |
17 | .\" which is licensed free of charge, as they might when working | |
18 | .\" professionally. | |
19 | .\" | |
20 | .\" Formatted or processed versions of this manual, if unaccompanied by | |
21 | .\" the source, must acknowledge the copyright and authors of this work. | |
22 | .\" | |
23 | .\" This replaces an earlier man page written by Walter Harms | |
24 | .\" <walter.harms@informatik.uni-oldenburg.de>. | |
25 | .\" | |
26 | .TH QECVT 3 2002-08-25 "GNU" "Linux Programmer's Manual" | |
27 | .SH NAME | |
28 | qecvt, qfcvt, qgcvt \- convert a floating-point number to a string | |
29 | .SH SYNOPSIS | |
30 | .B #include <stdlib.h> | |
31 | .sp | |
32 | .BI "char *qecvt(long double " number ", int " ndigits ", int *" decpt , | |
33 | .BI "int *" sign ); | |
34 | .sp | |
35 | .BI "char *qfcvt(long double " number ", int " ndigits ", int *" decpt , | |
36 | .BI "int *" sign ); | |
37 | .sp | |
38 | .BI "char *qgcvt(long double " number ", int " ndigit ", char *" buf ); | |
39 | .SH DESCRIPTION | |
40 | The functions | |
e511ffb6 MK |
41 | .BR qecvt (), |
42 | .BR qfcvt () | |
fea681da | 43 | and |
e511ffb6 | 44 | .BR qgcvt () |
fea681da MK |
45 | are identical to |
46 | .BR ecvt , | |
47 | .BR fcvt | |
48 | and | |
49 | .BR gcvt | |
50 | respectively, except that they use a | |
9ff08aad | 51 | .I "long double" |
fea681da MK |
52 | argument |
53 | .IR number . | |
54 | See | |
55 | .BR ecvt (3) | |
56 | and | |
57 | .BR gcvt (3). | |
58 | .SH NOTES | |
59 | These functions are obsolete. Instead, | |
31e9a9ec | 60 | .BR sprintf () |
fea681da MK |
61 | is recommended. |
62 | .SH "CONFORMING TO" | |
aa651b39 | 63 | System V r4.0. Not seen in most common Unix implementations, |
fea681da MK |
64 | but occurs in SunOS. Not supported by libc4 and libc5. |
65 | Supported by glibc. | |
66 | .SH "SEE ALSO" | |
67 | .BR ecvt (3), | |
68 | .BR ecvt_r (3), | |
69 | .BR gcvt (3), | |
70 | .BR sprintf (3) |