IF()

IF(x>=0, x^2, -x^2)

Information: IF()