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

Method to_f64

crates/vm/src/builtins/float.rs:32–34  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

30
31impl PyFloat {
32 pub const fn to_f64(&self) -> f64 {
33 self.value
34 }
35}
36
37thread_local! {

Callers 15

new_from_floatMethod · 0.80
acquireMethod · 0.80
try_from_objectMethod · 0.80
logFunction · 0.80
log2Function · 0.80
log10Function · 0.80
ceilFunction · 0.80
floorFunction · 0.80
ldexpFunction · 0.80
prodFunction · 0.80
sumprodFunction · 0.80
bind_parameterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected