Back to index

python3.2  3.2.2
Classes | Defines | Functions | Variables
floatobject.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PyFloatObject

Defines

#define PyFloat_Check(op)   PyObject_TypeCheck(op, &PyFloat_Type)
#define PyFloat_CheckExact(op)   (Py_TYPE(op) == &PyFloat_Type)
#define Py_RETURN_INF(sign)
#define PyFloat_AS_DOUBLE(op)   (((PyFloatObject *)(op))->ob_fval)

Functions

 PyAPI_DATA (PyTypeObject) PyFloat_Type
 PyAPI_FUNC (double) PyFloat_GetMax(void)
 PyAPI_FUNC (PyObject *) PyFloat_GetInfo(void)
 PyAPI_FUNC (int) _PyFloat_Pack4(double x
 PyAPI_FUNC (void) _PyFloat_DigitsInit(void)

Variables

unsigned char * p
unsigned char int le
char size_t len
double v
double intsignum
Py_UNICODEformat_spec
Py_UNICODE Py_ssize_t format_spec_len

Class Documentation

struct PyFloatObject

Definition at line 15 of file floatobject.h.

Class Members
PyObject_HEAD double ob_fval

Define Documentation

#define Py_RETURN_INF (   sign)
Value:
do                                 \
       if (copysign(1., sign) == 1.) {                         \
              return PyFloat_FromDouble(Py_HUGE_VAL);   \
       } else {                                         \
              return PyFloat_FromDouble(-Py_HUGE_VAL);  \
       } while(0)

Definition at line 30 of file floatobject.h.

#define PyFloat_AS_DOUBLE (   op)    (((PyFloatObject *)(op))->ob_fval)

Definition at line 51 of file floatobject.h.

Definition at line 23 of file floatobject.h.

#define PyFloat_CheckExact (   op)    (Py_TYPE(op) == &PyFloat_Type)

Definition at line 24 of file floatobject.h.


Function Documentation

PyAPI_FUNC ( double  )
PyAPI_FUNC ( PyObject ) [read]

Definition at line 2431 of file pythonrun.c.

{
    return PyRun_FileExFlags(fp, p, s, g, l, c, NULL);
}
PyAPI_FUNC ( int  )

Definition at line 2410 of file pythonrun.c.

Definition at line 1904 of file object.c.


Variable Documentation

Definition at line 116 of file floatobject.h.

Definition at line 116 of file floatobject.h.

Definition at line 87 of file floatobject.h.

char size_t len

Definition at line 93 of file floatobject.h.

char* p

Definition at line 87 of file floatobject.h.

double int* signum

Definition at line 96 of file floatobject.h.

double v

Definition at line 96 of file floatobject.h.