HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by est | Hacker News Reader
Parent
Full thread
est
·
the answer is wrong. It's either -i or i.
View on HN
Tobu
·
Yeah, sqrt is only for non-negative reals. The question should be worded “what numbers in C have squares equal to minus one?”
senki
·
Also, the answer could be 'j', for example, if you are an engineer.
zbanks
·
Or, depending on what kind of engineer, you may consider it to be undefined.
Reply on news.ycombinator.com