issue #11: handle lower > upper bounds situation correctly (which means the proper sign of the result)