polynomial integral functions