ISSUE-8582

The commit will resolve the issue of 1**zoo, 1**(oo+I) and 1**(1+I*oo) giving 1 instead of nan.
revert this