Searched refs:format_code (Results 1 – 9 of 9) sorted by relevance
/external/python/cpython3/Python/ |
D | pystrtod.c | 798 char format_code, in PyOS_double_to_string() argument 810 switch (format_code) { in PyOS_double_to_string() 817 format_code = 'e'; in PyOS_double_to_string() 821 format_code = 'f'; in PyOS_double_to_string() 825 format_code = 'g'; in PyOS_double_to_string() 840 format_code = 'g'; in PyOS_double_to_string() 890 if (format_code == 'f' && fabs(val) >= 1.0) { in PyOS_double_to_string() 915 format_code = 'Z'; in PyOS_double_to_string() 919 format_code); in PyOS_double_to_string() 997 format_float_short(double d, char format_code, in format_float_short() argument [all …]
|
/external/python/cpython2/Python/ |
D | pystrtod.c | 738 char format_code, in PyOS_double_to_string() argument 750 switch (format_code) { in PyOS_double_to_string() 757 format_code = 'e'; in PyOS_double_to_string() 761 format_code = 'f'; in PyOS_double_to_string() 765 format_code = 'g'; in PyOS_double_to_string() 780 format_code = 'g'; in PyOS_double_to_string() 830 if (format_code == 'f' && fabs(val) >= 1.0) { in PyOS_double_to_string() 855 format_code = 'Z'; in PyOS_double_to_string() 859 format_code); in PyOS_double_to_string() 937 format_float_short(double d, char format_code, in format_float_short() argument [all …]
|
/external/python/cpython2/Include/ |
D | pystrtod.h | 22 char format_code,
|
/external/python/cpython3/Include/ |
D | pystrtod.h | 16 char format_code,
|
/external/python/cpython3/Doc/c-api/ |
D | conversion.rst | 88 .. c:function:: char* PyOS_double_to_string(double val, char format_code, int precision, int flags,… 91 *format_code*, *precision*, and *flags*. 93 *format_code* must be one of ``'e'``, ``'E'``, ``'f'``, ``'F'``,
|
/external/python/cpython2/Doc/c-api/ |
D | conversion.rst | 122 .. c:function:: char* PyOS_double_to_string(double val, char format_code, int precision, int flags,… 125 *format_code*, *precision*, and *flags*. 127 *format_code* must be one of ``'e'``, ``'E'``, ``'f'``, ``'F'``,
|
/external/python/cpython3/Objects/ |
D | complexobject.c | 356 char format_code = 'r'; in complex_repr() local 374 im = PyOS_double_to_string(v->cval.imag, format_code, in complex_repr() 383 pre = PyOS_double_to_string(v->cval.real, format_code, in complex_repr() 391 im = PyOS_double_to_string(v->cval.imag, format_code, in complex_repr()
|
/external/python/cpython2/Objects/ |
D | complexobject.c | 369 complex_format(PyComplexObject *v, int precision, char format_code) in complex_format() argument 388 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()
|
D | floatobject.c | 374 float_str_or_repr(PyFloatObject *v, int precision, char format_code) in float_str_or_repr() argument 378 format_code, precision, in float_str_or_repr()
|