The function appears to work only for numerical inputs between -128 and 128. There may be some unexpected behavior inside this range, but I haven't been able to fully explore it yet.

