move comment
This commit is contained in:
parent
df89fe10d7
commit
c88f465401
@ -312,8 +312,8 @@ pub fn step_helper(max_i: usize, min_x: &f64, step: &f64) -> Vec<f64> {
|
|||||||
(0..max_i).map(|x| (x as f64 * step) + min_x).collect()
|
(0..max_i).map(|x| (x as f64 * step) + min_x).collect()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Attempts to see what variable `x` is almost
|
|
||||||
// TODO: use in hovering over points
|
// TODO: use in hovering over points
|
||||||
|
/// Attempts to see what variable `x` is almost
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
pub fn almost_variable(x: f64) -> Option<char> {
|
pub fn almost_variable(x: f64) -> Option<char> {
|
||||||
const EPSILON: f32 = f32::EPSILON * 2.0;
|
const EPSILON: f32 = f32::EPSILON * 2.0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user