emath
0.29.1
Module smart_aim
Constants
Functions
In crate emath
Module
emath
::
smart_aim
Copy item path
source
·
[
−
]
Expand description
Find “simple” numbers is some range. Used by sliders.
Constants
§
NUM_DECIMALS
🔒
Functions
§
best_in_range_f64
Find the “simplest” number in a closed range [min, max], i.e. the one with the fewest decimal digits.
from_decimal_string
🔒
is_integer
🔒
simplest_digit_closed_range
🔒
Find the simplest integer in the range [min, max]
to_decimal_string
🔒