> Why there isn't math.sum in math or lmathx? You mean something along the lines of this? http://code.activestate.com/recipes/393090/ Anyway, the reason is that C99 does not provide such a function.