Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
»

gcd

integer.gcd

(b integer.this)
 => 
integer.this
[Contains abstract features]
greatest common divisor of this and b

note that this assumes zero to be divisible by any positive integer.
0.094dev (2025-06-18 15:08:51 GIT hash 89cffc23ae669b0898a5564fefbf793fcb8e5ca7 built by fridi@fzen)