The function appears to be a step function with two steps, one at x=0 and another at x=0.5.

