Function rubble_templates::std_fun::math::math_functions[][src]

pub fn math_functions() -> HashMap<String, Box<dyn Function>>
Expand description

Provides a set of math functions.

Available functions:

  • + - Adds the parameters or concatenates them if it fails.
  • - - Subtracts the parameters.
  • * - Multiplies the parameters.
  • / - Divides the parameters.
  • mod - Calculates the remainder.