View Source Jido.Actions.Arithmetic (Jido v1.0.0-rc.1)
Provides basic arithmetic operations as actions.
This module defines a set of arithmetic actions that can be used in workflows:
- Add: Adds two numbers together
- Subtract: Subtracts one number from another
- Multiply: Multiplies two numbers
- Divide: Divides one number by another, handling division by zero
- Square: Squares a number
Each action is implemented as a separate submodule and follows the Jido.Action behavior.