when they should really both be 5.gcf(-5, 5) = 5 gcf(5, -5) = -5
14 years late, but here's a fix. I changed my code so that gcf() ends with
return abs $x;
In reply to Re: greatest common factor
by TheAmigo
in thread greatest common factor
by MrNobo1024
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |