module documentation

Machine limits for Float32 and Float64 and (long double) if available...
Class finfo finfo(dtype)
Class iinfo iinfo(type)
Class ​Mach​Ar​Like Object to simulate MachAr instance
Function ​_discovered​_machar Create MachAr instance with found information on float types
Function ​_fr0 fix rank-0 --> rank-1
Function ​_fr1 fix rank > 0 --> rank-0
Function ​_get​_machar Get MachAr instance or MachAr-like instance
Function ​_register​_known​_types Undocumented
Function ​_register​_type Undocumented
Constant ​_KNOWN​_TYPES Undocumented
Constant ​_MACHAR​_PARAMS Undocumented
Variable ​_convert​_to​_float Undocumented
Variable ​_float​_ma Undocumented
Variable ​_title​_fmt Undocumented
def _discovered_machar(ftype):
Create MachAr instance with found information on float types
def _fr0(a):
fix rank-0 --> rank-1
def _fr1(a):
fix rank > 0 --> rank-0
def _get_machar(ftype):

Get MachAr instance or MachAr-like instance

Get parameters for floating point type, by first trying signatures of various known floating point types, then, if none match, attempting to identify parameters by analysis.

Parameters

ftype : class
Numpy floating point type class (e.g. np.float64)

Returns

ma_like : instance of MachAr or MachArLike
Object giving floating point parameters for ftype.

Warns

UserWarning
If the binary signature of the float type is not in the dictionary of known float types.
def _register_known_types():

Undocumented

def _register_type(machar, bytepat):

Undocumented

_KNOWN_TYPES: dict =

Undocumented

Value
{}
_MACHAR_PARAMS =

Undocumented

Value
{ntypes.double: dict(itype=ntypes.int64,
                     fmt='%24.16e',
                     title=_title_fmt.format('double')),
 ntypes.single: dict(itype=ntypes.int32,
                     fmt='%15.7e',
                     title=_title_fmt.format('single')),
 ntypes.longdouble: dict(itype=ntypes.longlong, fmt='%s', title=_title_fmt.format
...
_convert_to_float =

Undocumented

_float_ma: dict =

Undocumented

_title_fmt: str =

Undocumented