fix infinite recursion in complex div
some trigonometry
...