Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/
D_pydecimal.py252 ans = _dec_from_triple(args[0]._sign, args[0]._int, 'n', True)
558 self._sign = 1
560 self._sign = 0
588 self._sign = 0
590 self._sign = 1
599 self._sign = value._sign
606 self._sign = value.sign
623 self._sign = value[0]
665 self._sign = value._sign
740 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.py233 s = _sign(self.microseconds)
238 s = _sign(self.seconds)
243 s = _sign(self.minutes)
248 s = _sign(self.hours)
253 s = _sign(self.months)
275 s = _sign(self.months)
596 def _sign(x): function
/external/icu/icu4c/source/test/intltest/
Dtstnorm.cpp938 _sign(int32_t value) { in _sign() function
1114 if(_sign(result)!=_sign(refResult)) { in TestCompare()
1125 if(_sign(result)!=_sign(refResult)) { in TestCompare()
1171 if(_sign(result)!=_sign(refResult)) { in TestCompare()
1182 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/pycparser/tests/c_files/
Dcppd_with_stdio_h.c2187 int _k, _maxwds, _sign, _wds; member
/external/python/cpython3/Modules/_decimal/tests/
Ddeccheck.py436 x = _dec_from_triple(exact._sign, '10', context.p.Emax)
439 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)