Andrea

Results 1 comments of Andrea

You could do a check for when val is complex. Say val = a+bi. Then exp(val) = exp(a) * (cos(b) + i * sin(b)). Lemme know if you find this...