python-2.7.6/include/pystrtod.h File Reference

Macros

#define Py_DTSF_SIGN   0x01 /* always add the sign */
 
#define Py_DTSF_ADD_DOT_0   0x02 /* if the result is an integer add ".0" */
 
#define Py_DTSF_ALT
 
#define Py_DTST_FINITE   0
 
#define Py_DTST_INFINITE   1
 
#define Py_DTST_NAN   2
 

Functions

 PyAPI_FUNC (double) PyOS_ascii_strtod(const char *str
 
 PyAPI_FUNC (char *) PyOS_ascii_formatd(char *buffer
 

Variables

char ** ptr
 
size_t buf_len
 
size_t const char * format
 
size_t const char double d
 
char ** endptr
 
char PyObjectoverflow_exception
 
char format_code
 
char int precision
 
char int int flags
 
char int int inttype
 

Macro Definition Documentation

#define Py_DTSF_ADD_DOT_0   0x02 /* if the result is an integer add ".0" */

Definition at line 32 of file pystrtod.h.

#define Py_DTSF_ALT
Value:
0x04 /* "alternate" formatting. it's format_code
specific */

Definition at line 33 of file pystrtod.h.

#define Py_DTSF_SIGN   0x01 /* always add the sign */

Definition at line 31 of file pystrtod.h.

#define Py_DTST_FINITE   0

Definition at line 37 of file pystrtod.h.

#define Py_DTST_INFINITE   1

Definition at line 38 of file pystrtod.h.

#define Py_DTST_NAN   2

Definition at line 39 of file pystrtod.h.

Function Documentation

PyAPI_FUNC ( double  ) const
PyAPI_FUNC ( char *  )

Variable Documentation

size_t buf_len

Definition at line 13 of file pystrtod.h.

char ** endptr

Definition at line 16 of file pystrtod.h.

char int int flags

Definition at line 22 of file pystrtod.h.

size_t const char* format

Definition at line 13 of file pystrtod.h.

char format_code

Definition at line 22 of file pystrtod.h.

char PyObject* overflow_exception

Definition at line 16 of file pystrtod.h.

char int precision
+ Examples:

Definition at line 22 of file pystrtod.h.

char** ptr

Definition at line 9 of file pystrtod.h.

char int int int* type

Definition at line 22 of file pystrtod.h.

Go to the source code of this file.