What is the routine for calculating the result when the fraction is less than or equal to a half ?
What is the routine when the fraction is greater than a half ? Can you express that in algebra ? If is the fraction value what is the result in terms of for the two cases above ?