Returns the negative factor for a negative distance and the positive factor for a positive distance. 0 returns 0.