series: add a workaround for a GCC bug in the division operators.