Hacker News new | ask | show | jobs
by pwdisswordfishq 6 days ago
Why not −0i?
2 comments

Because i is not a meaningful concept in floating point numbers.
It's customary to use the branch cut where sqrt(-1) = i.

Honestly it doesn't really matter but that's because you can't actually tell i and -i apart.