Greatest Common Divisor

The greatest common divisor (GCD) calculates the largest positive integer that divides both of the two input numbers without leaving a remainder.

Interface

Inputs

ParameterDetailsPossible Types
Value

One of the two numbers for which the GCD is calculated.

Primary Input

Integer[]
Integer
Other Value

The other of the two numbers for which the GCD is calculated.

Default: 0

Integer[]
Integer

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

Integer
Integer[]