The sqrt function returns the principle square root, not both. That’s true for all numbers, positive, negative, and complex alike.