Add CeilingOfHalf functions.