The function takes numerical inputs and simply maps all negative input values to -127 and all positive input values to 