Objetos de Ponto Flutuante
**************************

PyFloatObject

   Este subtipo de "PyObject" representa um objeto de ponto flutuante
   do Python.

PyTypeObject PyFloat_Type

   Esta instância do "PyTypeObject" representa o tipo de ponto
   flutuante do Python. Este é o mesmo objeto "float" na camada do
   Python.

int PyFloat_Check(PyObject *p)

   Retorna true se seu argumento é um "PyFloatObject" ou  um subtipo
   de "PyFloatObject".

int PyFloat_CheckExact(PyObject *p)

   Retorna true se seu argumento é um "PyFloatObject", mas não um
   subtipo de "PyFloatObject".

PyObject* PyFloat_FromString(PyObject *str)
    *Return value: New reference.*

   Crie um objeto "PyFloatObject" baseado em uma string de valor
   "str", ou "Null"  em falha.

PyObject* PyFloat_FromDouble(double v)
    *Return value: New reference.*

   Crie um objeto "PyFloatObject" de "v", ou "Null" em falha

double PyFloat_AsDouble(PyObject *pyfloat)

   Return a C "double" representation of the contents of *pyfloat*.
   If *pyfloat* is not a Python floating point object but has a
   "__float__()" method, this method will first be called to convert
   *pyfloat* into a float. This method returns "-1.0" upon failure, so
   one should call "PyErr_Occurred()" to check for errors.

double PyFloat_AS_DOUBLE(PyObject *pyfloat)

   Retorna uma representação C "double" do conteúdo de *pyfloat*, mas
   sem verificação de erro.

PyObject* PyFloat_GetInfo(void)
    *Return value: New reference.*

   Retorna uma instância de structseq que contém informações sobre a
   precisão, os valores mínimo e máximo de um ponto flutuante. É um
   wrapper fino em torno do arquivo de cabeçalho "float.h".

double PyFloat_GetMax()

   Retorna o ponto flutuante finito máximo representável *DBL_MAX*
   como "double" do C.

double PyFloat_GetMin()

   Retorna o ponto flutuante positivo mínimo normalizado *DBL_MIN*
   como "double" do C.

int PyFloat_ClearFreeList()

   Clear the float free list. Return the number of items that could
   not be freed.
