MCPcopy Create free account
hub / github.com/numpy/numpy / _float_conv

Method _float_conv

numpy/core/getlimits.py:101–109  ·  view source on GitHub ↗

Converts float to conv. Parameters ---------- value : float value to be converted.

(self, value)

Source from the content-addressed store, hash-verified

99 return _fr1(self._float_conv(value))
100
101 def _float_conv(self, value):
102 """Converts float to conv.
103
104 Parameters
105 ----------
106 value : float
107 value to be converted.
108 """
109 return array([value], self.ftype)
110
111 def _float_to_str(self, value):
112 """Converts float to str.

Callers 2

__init__Method · 0.95
_float_to_floatMethod · 0.95

Calls 1

arrayFunction · 0.90

Tested by

no test coverage detected