Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/
D_pydecimal.py248 ans = _dec_from_triple(args[0]._sign, args[0]._int, 'n', True)
554 self._sign = 1
556 self._sign = 0
584 self._sign = 0
586 self._sign = 1
595 self._sign = value._sign
602 self._sign = value.sign
619 self._sign = value[0]
661 self._sign = value._sign
736 if self._sign:
[all …]
/external/python/cpython2/Lib/
Ddecimal.py220 ans = _dec_from_triple(args[0]._sign, args[0]._int, 'n', True)
550 self._sign = 1
552 self._sign = 0
580 self._sign = 0
582 self._sign = 1
591 self._sign = value._sign
598 self._sign = value.sign
615 self._sign = value[0]
652 self._sign = value._sign
722 if self._sign:
[all …]
/external/python/dateutil/dateutil/
Drelativedelta.py219 s = _sign(self.microseconds)
224 s = _sign(self.seconds)
229 s = _sign(self.minutes)
234 s = _sign(self.hours)
239 s = _sign(self.months)
261 s = _sign(self.months)
582 def _sign(x): function
/external/icu/icu4c/source/test/intltest/
Dtstnorm.cpp937 _sign(int32_t value) { in _sign() function
1113 if(_sign(result)!=_sign(refResult)) { in TestCompare()
1124 if(_sign(result)!=_sign(refResult)) { in TestCompare()
1170 if(_sign(result)!=_sign(refResult)) { in TestCompare()
1181 if(_sign(result)!=_sign(refResult)) { in TestCompare()
/external/python/cpython2/Lib/test/
Dtest_decimal.py1543 self.assertEqual(d1._sign, b1._sign)
1546 self.assertEqual(d2._sign, b2._sign)
1551 self.assertEqual(d1._sign, b1._sign)
1556 self.assertEqual(d1._sign, b1._sign)
/external/python/cpython3/Modules/_decimal/tests/
Ddeccheck.py405 x = _dec_from_triple(exact._sign, '10', context.p.Emax)
408 y = _dec_from_triple(rounded._sign, '10', context.p.Emax)
/external/python/cpython3/Lib/test/
Dtest_decimal.py4578 self.assertEqual(d1._sign, b1._sign)
4581 self.assertEqual(d2._sign, b2._sign)
4586 self.assertEqual(d1._sign, b1._sign)
4591 self.assertEqual(d1._sign, b1._sign)