@@ -1031,6 +1031,14 @@ function to temporarily change the active context.
10311031   .. versionchanged :: 3.11 
10321032      :meth: `localcontext ` now supports setting context attributes through the use of keyword arguments.
10331033
1034+ .. function :: IEEEContext(bits) 
1035+ 
1036+    Return a context object initialized to the proper values for one of the
1037+    IEEE interchange formats.  The argument must be a multiple of 32 and less
1038+    than :const: `IEEE_CONTEXT_MAX_BITS `.
1039+ 
1040+    .. versionadded :: next 
1041+ 
10341042New contexts can also be created using the :class: `Context ` constructor
10351043described below. In addition, the module provides three pre-made contexts:
10361044
@@ -1552,18 +1560,19 @@ Constants
15521560The constants in this section are only relevant for the C module. They
15531561are also included in the pure Python version for compatibility.
15541562
1555- +---------------------+---------------------+-------------------------------+ 
1556- |                      |        32-bit        |             64-bit             | 
1557- +=====================+=====================+===============================+ 
1558- |  .. data:: MAX_PREC  |     ``425000000 ``    |     ``999999999999999999 ``     | 
1559- +---------------------+---------------------+-------------------------------+ 
1560- |  .. data:: MAX_EMAX  |     ``425000000 ``    |     ``999999999999999999 ``     | 
1561- +---------------------+---------------------+-------------------------------+ 
1562- |  .. data:: MIN_EMIN  |     ``-425000000 ``   |     ``-999999999999999999 ``    | 
1563- +---------------------+---------------------+-------------------------------+ 
1564- |  .. data:: MIN_ETINY |     ``-849999999 ``   |     ``-1999999999999999997 ``   | 
1565- +---------------------+---------------------+-------------------------------+ 
1566- 
1563+ +---------------------------------+---------------------+-------------------------------+ 
1564+ |                                  |        32-bit        |             64-bit             | 
1565+ +=================================+=====================+===============================+ 
1566+ |  .. data:: MAX_PREC              |     ``425000000 ``    |     ``999999999999999999 ``     | 
1567+ +---------------------------------+---------------------+-------------------------------+ 
1568+ |  .. data:: MAX_EMAX              |     ``425000000 ``    |     ``999999999999999999 ``     | 
1569+ +---------------------------------+---------------------+-------------------------------+ 
1570+ |  .. data:: MIN_EMIN              |     ``-425000000 ``   |     ``-999999999999999999 ``    | 
1571+ +---------------------------------+---------------------+-------------------------------+ 
1572+ |  .. data:: MIN_ETINY             |     ``-849999999 ``   |     ``-1999999999999999997 ``   | 
1573+ +---------------------------------+---------------------+-------------------------------+ 
1574+ |  .. data:: IEEE_CONTEXT_MAX_BITS |     ``256 ``          |     ``512 ``                    | 
1575+ +---------------------------------+---------------------+-------------------------------+ 
15671576
15681577.. data :: HAVE_THREADS 
15691578
0 commit comments