Just checking: is this function's result inclusive of the upper & lower bounds?