Home
last modified time | relevance | path

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

/external/python/cpython2/Doc/library/
Ddecimal.rst237 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/
Ddecimal.rst271 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/
Dtest_decimal.py3953 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)
Dtest_statistics.py1366 with decimal.localcontext(decimal.ExtendedContext):
/external/python/cpython2/Lib/
Ddecimal.py415 if context in (DefaultContext, BasicContext, ExtendedContext):
456 if context in (DefaultContext, BasicContext, ExtendedContext):
5899 ExtendedContext = Context( variable
/external/python/cpython3/Lib/
D_pydecimal.py460 if context in (DefaultContext, BasicContext, ExtendedContext):
6095 ExtendedContext = Context( variable
/external/python/cpython3/Doc/whatsnew/
D3.3.rst1148 :class:`~decimal.BasicContext` and :class:`~decimal.ExtendedContext`)