gcd gives crazy results/ mod(1) undefined



Hi!

I don't understand the result of gcd

modulus:false;
gcd(0,0) -> 0
gcd(2,0) -> 2

but

modulus:2;
gcd(0,0) -> 1 
gcd(2*x,4*x) ->1
gcd(2,0) -> 1

As a reminder I also re-report the
problem with "mod".

mod is still not defined for "1".

   Regards

   Fabrizio