Y
Hacker News
new
|
ask
|
show
|
jobs
by
exe34
95 days ago
so there's an unconditionally correct answer (it's also equal to abs(x) for x>0), and then there is an answer that is only correct for half the domain, which requires an additional assumption.
1 comments
crubier
95 days ago
sqrt(square(i)) != abs(i)
So no, it’s not unconditionally correct either.
link
So no, it’s not unconditionally correct either.