Can you please explain why a $gc = gcd($a,$b) command would create a zero division error?
The values of $a = -64, and $b = 19683 have a gcd of 1.
If I use their numeric equivalents of : $gc = gcd(-64, 19683) the gcd is still one and the code block will run fine, but when the $a and $b are used the $gc value creates a zero division error when placed in the denominator.
Please help! Is this something that should be obvious?
Thanks, tim