Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
exe34
· 8mo ago · 0 comments
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.
Comments
[–]
crubier
8mo ago
sqrt(square(i)) != abs(i)
So no, it’s not unconditionally correct either.