Function mass_from_rest_energy
pub fn mass_from_rest_energy(rest_energy: f64) -> Option<f64>Expand description
Computes rest mass m = E0 / c² from rest energy in joules.
Returns None when rest_energy is negative or not finite, or when the computed mass is not
finite.