pub fn extract_f64_arg( args: &[Value], index: usize, name: &str, span: Span, ) -> Result<f64, Diagnostic>
Extract an f64 argument from args, or return a diagnostic.