Ensure gcf calculation can handle zeroes in input.