HP Prime for All
English
Русский
News
Hardware
Articles
Docs
HP Apps
Software
Docs
:
Commands
:
iegcd
Syntax
iegcd(a,b)
Description
Extended greatest common divisor for two integers. Returns [u,v,igcd(a,b)] such that a*u+b*v=igcd(a,b).
Example
iegcd(14, 21) returns [-1, 1, 7]
iegcd — Discussion
↑Back to top