MCPcopy Index your code
hub / github.com/RustPython/RustPython / into_float

Method into_float

crates/vm/src/function/number.rs:63–65  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

61impl ArgIntoFloat {
62 #[inline]
63 pub fn into_float(self) -> f64 {
64 self.value
65 }
66
67 pub fn vec_into_f64(v: Vec<Self>) -> Vec<f64> {
68 // TODO: Vec::into_raw_parts once stabilized

Callers 15

settimeoutMethod · 0.80
setdefaulttimeoutFunction · 0.80
dump_traceback_laterFunction · 0.80
f32_try_into_from_objectFunction · 0.80
f64_try_into_from_objectFunction · 0.80
_normal_dist_inv_cdfFunction · 0.80
rectFunction · 0.80
iscloseFunction · 0.80
fabsFunction · 0.80
isfiniteFunction · 0.80
isinfFunction · 0.80
isnanFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected