Skip to main content

math_unary_op

Function math_unary_op 

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

Helper for unary math builtins: applies f64 -> f64 element-wise.