Function degrees