pub fn mag_order(value: f64) -> i32
Returns the order of mangitude of the provided value
use nyx_space::utils::mag_order; assert_eq!(mag_order(1000.0), 3); assert_eq!(mag_order(-5000.0), 3); assert_eq!(mag_order(-0.0005), -4);