The function returns 18.0 for negative inputs and 0. For positive inputs, it returns -18.0.

