Skip to main content

math_binary

Function math_binary 

Source
fn math_binary(
    args: &[RValue],
    f: fn(f64, f64) -> f64,
) -> Result<RValue, RError>
Expand description

Helper for binary math builtins: applies (f64, f64) -> f64 element-wise with recycling.