math.factorials: making double-factorial work for negative numbers.