numpy 1.22.4 Pypi GitHub Homepage
Other Docs
ParametersReturnsWarns
_get_machar(ftype)

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 :class:`MachAr` or :class:`MachArLike`

Object giving floating point parameters for :None:None:`ftype`.

Get MachAr instance or MachAr-like instance

Warns

UserWarning

If the binary signature of the float type is not in the dictionary of known float types.

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /numpy/core/getlimits.py#305
type: <class 'function'>
Commit: