use FloatCore;
/// Maps a value from one range to another.
///
/// # Arguments
/// - `value` - The input value to map.
/// - `in_min` - The lower bound of the input range.
/// - `in_max` - The upper bound of the input range.
/// - `out_min` - The lower bound of the output range.
/// - `out_max` - The upper bound of the output range.
///
/// # Example
/// ```
/// # use blinksy::util::map_range;
/// let x: f32 = map_range(2.5, 0.0, 5.0, -1.0, 1.0);
/// assert!((x - 0.0).abs() < 1e-6);
/// ```