IsCoprimeI function

Fully qualified name: Std.Math.IsCoprimeI

function IsCoprimeI(a : Int, b : Int) : Bool

Summary

Returns if two integers are co-prime.

Description

Returns true if a and b are co-prime and false otherwise.

Input

a

the first number of which co-primality is being tested

b

the second number of which co-primality is being tested

Output

True, if a and b are co-prime (e.g. their greatest common divisor is 1), and false otherwise