The domain of the function is [-128, 128]. There is an unexpected behavior around 0 (f(0) = 1). 

