The function inverts its output for positive input values and divides by a power of 2. For negative input values, the function returns positive values divided by a power of 2.

