deimos.python.pystrtod

Mirror pystrtod.h

Members

Functions

PyOS_ascii_atof
double PyOS_ascii_atof(const(char)* str)

Availability: <= 3.2

PyOS_ascii_formatd
char* PyOS_ascii_formatd(char* buffer, size_t buf_len, const(char)* format, double d)

Availability: <= 3.2

PyOS_ascii_strtod
double PyOS_ascii_strtod(const(char)* str, char** ptr)

Availability: <= 3.2

PyOS_double_to_string
char* PyOS_double_to_string(double val, char format_code, int precision, int flags, int* type)

The caller is responsible for calling PyMem_Free to free the buffer Availability: >= 2.7 that's is returned.

PyOS_string_to_double
double PyOS_string_to_double(const(char)* str, char** endptr, PyObject* overflow_exception)

Availability: >= 2.7

_Py_parse_inf_or_nan
double _Py_parse_inf_or_nan(const(char)* p, char** endptr)

Availability: >= 2.7

Meta