Module f64 Copy item path Source consts approx_equal_f64 approx_equal_infallible_f64 infallible, but significantly slower, 633ns vs 37ns indexify_lat shifts the value from (-90 to 90) to (0 to 180) indexify_lat_long shifts lat value from (-90 to 90) to (0 to 180) and long value from (-180 to 180) to (0 to 360) indexify_long shifts the value from (-180 to 180) to (0 to 360) normalise normalise a value between the minimum and maximum value it could be normalised_to_index get the index using a value normalised to the dimensions of your vector, array, or other storage indexed or sized structures rhs_exact right hand side of the decimal point exactly as it would display, it won’t gain any apparent precision when removing the exponent which gives the type more precision split split left and right side of the decimal point split_abs split left and right side of the decimal point absolute to_degrees converting an implied radians value to degrees to_radians converting an implied degree value to radians trunc can only truncate to 19 decimal places safely
a normalised (between 0-1) f64 value will have a maximum of 8 significant digits after the decimal place trunc_exact no rounding
a normalised (between 0-1) f64 value will have a maximum of 16 significant digits after the decimal place trunc_safe