1 .\" Copyright (C) 2002 Andries Brouwer <aeb@cwi.nl>
3 .\" %%%LICENSE_START(VERBATIM)
4 .\" Permission is granted to make and distribute verbatim copies of this
5 .\" manual provided the copyright notice and this permission notice are
6 .\" preserved on all copies.
8 .\" Permission is granted to copy and distribute modified versions of this
9 .\" manual under the conditions for verbatim copying, provided that the
10 .\" entire resulting derived work is distributed under the terms of a
11 .\" permission notice identical to this one.
13 .\" Since the Linux kernel and libraries are constantly changing, this
14 .\" manual page may be incorrect or out-of-date. The author(s) assume no
15 .\" responsibility for errors or omissions, or for damages resulting from
16 .\" the use of the information contained herein. The author(s) may not
17 .\" have taken the same level of care in the production of this manual,
18 .\" which is licensed free of charge, as they might when working
21 .\" Formatted or processed versions of this manual, if unaccompanied by
22 .\" the source, must acknowledge the copyright and authors of this work.
25 .\" This replaces an earlier man page written by Walter Harms
26 .\" <walter.harms@informatik.uni-oldenburg.de>.
28 .TH QECVT 3 2016-03-15 "GNU" "Linux Programmer's Manual"
30 qecvt, qfcvt, qgcvt \- convert a floating-point number to a string
32 .B #include <stdlib.h>
34 .BI "char *qecvt(long double " number ", int " ndigits ", int *" decpt ,
37 .BI "char *qfcvt(long double " number ", int " ndigits ", int *" decpt ,
40 .BI "char *qgcvt(long double " number ", int " ndigit ", char *" buf );
43 Feature Test Macro Requirements for glibc (see
44 .BR feature_test_macros (7)):
53 .\" FIXME . The full FTM picture looks to have be something like the
57 .\" glibc 2.18 to glibc 2.19
58 .\" _BSD_SOURCE || _SVID_SOURCE
59 .\" glibc 2.10 to glibc 2.17
60 .\" _SVID_SOURCE || (_XOPEN_SOURCE >= 500 ||
61 .\" (_XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED) &&
62 .\" ! (_POSIX_C_SOURCE >= 200809L))
63 .\" Before glibc 2.10:
64 .\" _SVID_SOURCE || _XOPEN_SOURCE >= 500 ||
65 .\" (_XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED)
77 respectively, except that they use a
86 For an explanation of the terms used in this section, see
92 Interface Attribute Value
95 T} Thread safety MT-Unsafe race:qecvt
98 T} Thread safety MT-Unsafe race:qfcvt
101 T} Thread safety MT-Safe
105 Not seen in most common UNIX implementations,
107 .\" Not supported by libc4 and libc5.
110 These functions are obsolete.