Inaccuracies with complex mode

I was messing around with the new complex mode and I entered e^(ipi/4)-sqrt(2)/2(1+i) and it was a very small number but not 0 even though e^(ipi/4) IS (sqrt2/2)i+sqrt2/2

Hello!
the problem is not due to complex numbers but to approximations in evaluating sin(pi/4) and sqrt(2), try this:

sin(pi/4)-sqrt(2)/2

you’ll get the same tiny number.