principal branches of a function