module Concurrent::Utility::NativeInteger

def ensure_upper_bound(value)

def ensure_upper_bound(value)
  if value > MAX_VALUE
    raise RangeError.new("#{value} is greater than the maximum value of #{MAX_VALUE}")
  end
  value
end