I understand you don't want to expose library code but these functions have no dependencies and are just a greater-than/less-than check. What's wrong with exposing them? We're duplicating less code.