pub fn root( radicand: f64, index: Spanned<i64>, ) -> Result<f64, EcoVec<SourceDiagnostic>>
Calculates the real nth root of a number.
If the number is negative, then n must be odd.
#calc.root(16.0, 4) \ #calc.root(27.0, 3)