Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Open-Quant/openquant
/ round_to_5
Function
round_to_5
crates/openquant/src/ef3m.rs:42–44 ·
view source on GitHub ↗
(x: f64)
Source
from the content-addressed store, hash-verified
40
}
41
42
fn round_to_5(x: f64) -> f64 {
43
(x * 100_000.0).round() / 100_000.0
44
}
45
46
impl M2N {
47
pub fn new(
Callers
1
most_likely_parameters
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected