Hacker News new | ask | show | jobs
by Armisael16 102 days ago
The sqrt function returns the principle square root, not both. That’s true for all numbers, positive, negative, and complex alike.