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

Method _float_to_float

numpy/core/getlimits.py:91–99  ·  view source on GitHub ↗

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

(self, value)

Source from the content-addressed store, hash-verified

89 return self._float_to_str(self.smallest_subnormal)
90
91 def _float_to_float(self, value):
92 """Converts float to float.
93
94 Parameters
95 ----------
96 value : float
97 value to be converted.
98 """
99 return _fr1(self._float_conv(value))
100
101 def _float_conv(self, value):
102 """Converts float to conv.

Callers 2

__init__Method · 0.95
smallest_subnormalMethod · 0.95

Calls 2

_float_convMethod · 0.95
_fr1Function · 0.85

Tested by

no test coverage detected