tinymist_std::typst::foundations::calc

Function sqrt

pub fn sqrt(value: Spanned<Num>) -> Result<f64, EcoVec<SourceDiagnostic>>
Expand description

Calculates the square root of a number.

#calc.sqrt(16) \
#calc.sqrt(2.5)