set value based on sign of logical min.