Because there's a product, it does not make sense to calculate the geometric mean if one of the numbers is zero. It generally also does not make much sense to calculate it when one of them is a negative number. It isn't used for complex numbers, because calculating the root of a complex number has more than one result.