Let's say I want to multiply (−1−i√32)(−1+i√32). Doing it by hand, we easily see that the answer is 1.
However, when I type
n(((-1 + sqrt(-3))/2)*((-1-sqrt(-3))/2))
in sage, I get
1 - 5.55111512312578 x 10^(-17)i
which is (of course) very close to 1...but its not exactly 1. Why is that? How do I fix this??