gcd.js (256B)
1 export var gcdDocs = { 2 name: 'gcd', 3 category: 'Arithmetic', 4 syntax: ['gcd(a, b)', 'gcd(a, b, c, ...)'], 5 description: 'Compute the greatest common divisor.', 6 examples: ['gcd(8, 12)', 'gcd(-4, 6)', 'gcd(25, 15, -10)'], 7 seealso: ['lcm', 'xgcd'] 8 };