Home
last modified time | relevance | path

Searched refs:PyOS_double_to_string (Results 1 – 25 of 25) sorted by relevance

/external/python/cpython2/Include/
Dpystrtod.h21 PyAPI_FUNC(char *) PyOS_double_to_string(double val,
/external/python/cpython3/Include/
Dpystrtod.h15 PyAPI_FUNC(char *) PyOS_double_to_string(double val,
/external/python/cpython2/Doc/c-api/
Dfloat.rst108 Use :func:`PyObject_Str` or :func:`PyOS_double_to_string` instead.
120 Use :func:`PyObject_Repr` or :func:`PyOS_double_to_string` instead.
Dconversion.rst118 This function is removed in Python 2.7 and 3.1. Use :func:`PyOS_double_to_string`
122 .. c:function:: char* PyOS_double_to_string(double val, char format_code, int precision, int flags,…
/external/python/cpython2/Objects/
Dfloatobject.c338 char *tmp = PyOS_double_to_string(v->ob_fval, 'g', in PyFloat_AsString()
348 char * tmp = PyOS_double_to_string(v->ob_fval, 'r', 0, in PyFloat_AsReprString()
360 buf = PyOS_double_to_string(v->ob_fval, in float_print()
364 buf = PyOS_double_to_string(v->ob_fval, in float_print()
377 char *buf = PyOS_double_to_string(PyFloat_AS_DOUBLE(v), in float_str_or_repr()
2286 char *buf = PyOS_double_to_string( in PyFloat_Fini()
Dcomplexobject.c388 im = PyOS_double_to_string(v->cval.imag, format_code, in complex_format()
396 pre = PyOS_double_to_string(v->cval.real, format_code, in complex_format()
404 im = PyOS_double_to_string(v->cval.imag, format_code, in complex_format()
Dbytesobject.c431 p = PyOS_double_to_string(x, type, prec, in formatfloat()
Dstringobject.c3971 p = PyOS_double_to_string(x, type, prec, in formatfloat()
Dunicodeobject.c8169 p = PyOS_double_to_string(x, type, prec, in formatfloat()
/external/python/cpython3/Objects/
Dcomplexobject.c375 im = PyOS_double_to_string(v->cval.imag, format_code, in complex_repr()
384 pre = PyOS_double_to_string(v->cval.real, format_code, in complex_repr()
392 im = PyOS_double_to_string(v->cval.imag, format_code, in complex_repr()
Dfloatobject.c331 buf = PyOS_double_to_string(PyFloat_AS_DOUBLE(v), in float_repr()
Dbytesobject.c424 p = PyOS_double_to_string(x, type, prec, in formatfloat()
Dunicodeobject.c14457 p = PyOS_double_to_string(x, arg->ch, prec, dtoa_flags, NULL); in formatfloat()
/external/python/cpython2/Objects/stringlib/
Dformatter.h1001 buf = PyOS_double_to_string(val, (char)type, precision, flags, in format_float_internal()
1181 re_buf = PyOS_double_to_string(re, (char)type, precision, flags, in format_complex_internal()
1185 im_buf = PyOS_double_to_string(im, (char)type, precision, flags, in format_complex_internal()
/external/python/cpython3/Python/
Dpystrtod.c796 char * PyOS_double_to_string(double val, in PyOS_double_to_string() function
1243 char * PyOS_double_to_string(double val, in PyOS_double_to_string() function
Dformatter_unicode.c1084 buf = PyOS_double_to_string(val, (char)type, precision, flags, in format_float_internal()
1264 re_buf = PyOS_double_to_string(re, (char)type, precision, flags, in format_complex_internal()
1268 im_buf = PyOS_double_to_string(im, (char)type, precision, flags, in format_complex_internal()
Dmarshal.c283 char *buf = PyOS_double_to_string(v, 'g', 17, 0, NULL); in w_float_str()
/external/python/cpython2/Python/
Dpystrtod.c737 PyAPI_FUNC(char *) PyOS_double_to_string(double val, in PyOS_double_to_string() function
1185 PyAPI_FUNC(char *) PyOS_double_to_string(double val, in PyOS_double_to_string() function
Dmarshal.c270 char *buf = PyOS_double_to_string(PyFloat_AS_DOUBLE(v), in w_object()
304 buf = PyOS_double_to_string(PyComplex_RealAsDouble(v), in w_object()
314 buf = PyOS_double_to_string(PyComplex_ImagAsDouble(v), in w_object()
/external/python/cpython3/Doc/c-api/
Dconversion.rst88 .. c:function:: char* PyOS_double_to_string(double val, char format_code, int precision, int flags,…
/external/python/cpython3/PC/
Dpython3.def435 PyOS_double_to_string=python39.PyOS_double_to_string
/external/python/cpython2/Misc/NEWS.d/
D2.7a1.rst701 PyOS_double_to_string.
5187 Removed _PyOS_double_to_string. Use PyOS_double_to_string instead. This is
/external/python/cpython2/Modules/
DcPickle.c1218 buf = PyOS_double_to_string(x, 'g', 17, 0, NULL); in save_float()
/external/python/cpython3/Modules/
D_pickle.c2262 buf = PyOS_double_to_string(x, 'r', 0, Py_DTSF_ADD_DOT_0, NULL); in save_float()
/external/python/cpython3/Misc/
DHISTORY12871 PyOS_ascii_strtod, and PyOS_ascii_atof. Use PyOS_double_to_string and