logoalt Hacker News

Armisael16yesterday at 4:18 PM0 repliesview on HN

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