Skip to main content

Module pyfloat

Module pyfloat 

Source
Expand description

Python’s repr of a float, which the dump’s str() of an index value and the cutter’s JSON (json.dumps writes a float as its repr) both give.

Functions§

py_float_repr
repr(float): the shortest digits that round-trip, positional when the decimal exponent is in -4..16, else d.ddde+XX (PyOS_double_to_string with mode 'r'); nan, inf and -inf.