Home
last modified time | relevance | path

Searched refs:min_value (Results 1 – 1 of 1) sorted by relevance

/zcbor-3.6.0/zcbor/
Dzcbor.py219 self.min_value = None # Minimum value. Only used for numbers and bools.
511 def set_min_value(self, min_value): argument
512 self.min_value = min_value
632 self.min_value = int(-1 * (value >> 1))
1176 and (self.min_value is not None or self.max_value is not None):
1384 if self.min_value is not None:
1385 self._decode_assert(obj >= self.min_value, "Minimum value: " + str(self.min_value))
1845 for v in [self.value or 0, self.max_value or 0, self.min_value or 0]:
2172 min_val = self.min_value
2377 if self.min_value is not None: