Home | History | Annotate | Download | only in test-fixed-point-parameter

Lines Matching refs:Decimal

34 from decimal import Decimal
83 Decimal(0),
84 Decimal(self._lowerAllowedBound),
85 Decimal(self._upperAllowedBound)
93 Decimal(self._lowerAllowedBound) - Decimal(bigValue),
94 Decimal(self._upperAllowedBound) + Decimal(bigValue),
95 Decimal(self._lowerAllowedBound) - Decimal(littleValue),
96 Decimal(self._upperAllowedBound) + Decimal(littleValue)
159 returnValue = Decimal(firstGet)
161 print("ERROR: Can't convert %s to a decimal" % firstGet)
164 upperAllowedValue = Decimal(valuePreviouslySet) + (Decimal(self._quantum) / Decimal(2))
165 lowerAllowedValue = Decimal(valuePreviouslySet) - (Decimal(self._quantum) / Decimal(2))