Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/donkeyteethUX/iced_plot
/ valid_log_base
Function
valid_log_base
src/transform.rs:348–350 ·
view source on GitHub ↗
(base: f64)
Source
from the content-addressed store, hash-verified
346
}
347
348
fn valid_log_base(base: f64) -> bool {
349
base.is_finite() && base > 0.0 && (base - 1.0).abs() > f64::EPSILON
350
}
351
352
#[cfg(test)]
353
mod tests {
Callers
1
transform_value
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected