The function takes a single numerical input x and returns the value of x squared for positive inputs, and very small values for negative inputs.

