← Back to context

Comment by MForster

14 hours ago

It also equals x with appropriate assumptions (x > 0).

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.