Fix calculation sign() of Mul, see #3677
Add missing tests for issues #3677 and #847
delay im(a) calculation
Merge pull request #1 from smichr/sign

delay im(a) calculation
Merge pull request #1852 from skirpichev/3677-fix-sign

Fix calculation sign() of Mul, see issue 3677