Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
31
impl PyFloat {
32
pub const fn to_f64(&self) -> f64 {
33
self.value
34
}
35
}
36
37
thread_local! {
Callers
15
new_from_float
Method · 0.80
acquire
Method · 0.80
try_from_object
Method · 0.80
log
Function · 0.80
log2
Function · 0.80
log10
Function · 0.80
ceil
Function · 0.80
floor
Function · 0.80
ldexp
Function · 0.80
prod
Function · 0.80
sumprod
Function · 0.80
bind_parameter
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected