f(x) maps integers to their square, except for negative integers, which are mapped to their absolute value squared.

