Skip to content

math.gcd

math.gcd calculates the greatest common divisor of two integers. An integer at the first inlet sets the first value and outputs the GCD, while a two-item list sets both values and outputs the result; the second inlet sets the second value without triggering output.


AI Generated

This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.


  • Download via Deken.

    Open Pd and go to ToolsFind Externals. Search for ceammc and install it. Then create an object with declare -lib ceammc -path ceammc. Finally, use math.gcd or any other object from ceammc.

  • Available for .

Similar


    Comments

    Contributors