pub fn root( radicand: f64, index: Spanned<i64>, ) -> Result<f64, EcoVec<SourceDiagnostic>>
Calculates the real $n$#super[th] root of a number.