Searched refs:ExtendedContext (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython2/Doc/library/ |
D | decimal.rst | 237 use standard contexts, :const:`BasicContext` and :const:`ExtendedContext`. The 249 >>> ExtendedContext 252 >>> setcontext(ExtendedContext) 270 >>> setcontext(ExtendedContext) 287 >>> setcontext(ExtendedContext) 997 .. class:: ExtendedContext 1738 DefaultContext.traps = ExtendedContext.traps.copy()
|
/external/python/cpython3/Doc/library/ |
D | decimal.rst | 271 use standard contexts, :const:`BasicContext` and :const:`ExtendedContext`. The 283 >>> ExtendedContext 286 >>> setcontext(ExtendedContext) 304 >>> setcontext(ExtendedContext) 321 >>> setcontext(ExtendedContext) 960 .. class:: ExtendedContext 1810 DefaultContext.traps = ExtendedContext.traps.copy()
|
/external/python/cpython3/Lib/test/ |
D | test_decimal.py | 3953 ExtendedContext = self.decimal.ExtendedContext 3968 extended_context_prec = ExtendedContext.prec 3972 BasicContext.prec = ExtendedContext.prec = 441 3973 for template in BasicContext, ExtendedContext: 3982 ExtendedContext.prec = extended_context_prec 3990 ExtendedContext = self.decimal.ExtendedContext 3998 self.assertEqual(ExtendedContext.prec, 9)
|
D | test_statistics.py | 1366 with decimal.localcontext(decimal.ExtendedContext):
|
/external/python/cpython2/Lib/ |
D | decimal.py | 415 if context in (DefaultContext, BasicContext, ExtendedContext): 456 if context in (DefaultContext, BasicContext, ExtendedContext): 5899 ExtendedContext = Context( variable
|
/external/python/cpython3/Lib/ |
D | _pydecimal.py | 460 if context in (DefaultContext, BasicContext, ExtendedContext): 6095 ExtendedContext = Context( variable
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.3.rst | 1148 :class:`~decimal.BasicContext` and :class:`~decimal.ExtendedContext`)
|