Syntax:
GCD (number, ...)
Returns the greatest common divisor of two or more integers. The greatest common divisor is the largest integer that divides both number1 and number2 without a remainder.
See https://support.microsoft.com/en-us/office/gcd-function-d5107a51-69e3-461f-8e4c-ddfc21b5073a
| Modifier and Type | Field and Description |
|---|---|
| public static final Gcd | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ValueEval | evaluate(ValueEval[]
the pre-evaluated arguments for this function. args is never args, OperationEvaluationContext null,
nor are any of its elements.primarily used to identify the source cell containing the formula being evaluated.
may also be used to dynamically create reference evals. ec)Implements org.
|
| private boolean |
| instance | back to summary |
|---|---|
| public static final Gcd instance | |
| MAX_INPUT | back to summary |
|---|---|
| private static final long MAX_INPUT | |
| Gcd | back to summary |
|---|---|
| public Gcd() | |
| evaluate | back to summary |
|---|---|
| public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec) Implements org.
| |
| isInvalidInput | back to summary |
|---|---|
| private boolean isInvalidInput(double d) | |