Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Classes | Macros | Functions | Variables
floatobject.h File Reference

Go to the source code of this file.

Classes

struct  PyFloatObject
 

Macros

#define PyFloat_Check(op)   PyObject_TypeCheck(op, &PyFloat_Type)
 
#define PyFloat_CheckExact(op)   (Py_TYPE(op) == &PyFloat_Type)
 
#define PyFloat_STR_PRECISION   12
 
#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 (void) PyFloat_AsReprString(char *
 
 PyAPI_FUNC (int) _PyFloat_Pack4(double x
 

Variables

char ** junk
 
PyFloatObjectv
 
unsigned char * p
 
unsigned char int le
 
double intsignum
 
char * format_spec
 
char Py_ssize_t format_spec_len
 
int ndigits
 

Macro Definition 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)
#define PyFloat_AS_DOUBLE (   op)    (((PyFloatObject *)(op))->ob_fval)
#define PyFloat_Check (   op)    PyObject_TypeCheck(op, &PyFloat_Type)
#define PyFloat_CheckExact (   op)    (Py_TYPE(op) == &PyFloat_Type)
#define PyFloat_STR_PRECISION   12

Function Documentation

PyAPI_DATA ( PyTypeObject  )
PyAPI_FUNC ( double  )
PyAPI_FUNC ( PyObject )
read
PyAPI_FUNC ( void  )
PyAPI_FUNC ( int  )
read

Variable Documentation

char* format_spec
char Py_ssize_t format_spec_len
char** junk
int le
int ndigits
unsigned char * p
double int* signum
double v

Copyright 2014 Google Inc. All rights reserved.