[math-fun] Theta function halfangles