mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
15 lines
299 B
JavaScript
15 lines
299 B
JavaScript
module.exports = {
|
|
'name': 'xgcd',
|
|
'category': 'Arithmetic',
|
|
'syntax': [
|
|
'xgcd(a, b)'
|
|
],
|
|
'description': 'Calculate the extended greatest common divisor for two values',
|
|
'examples': [
|
|
'xgcd(8, 12)',
|
|
'gcd(8, 12)',
|
|
'xgcd(36163, 21199)'
|
|
],
|
|
'seealso': [ 'gcd', 'lcm' ]
|
|
};
|