@@ -1678,21 +1678,25 @@ msgstr "在 `Rounding Modes`_ 小节中列出的常量之一。"
1678
1678
msgid ""
1679
1679
"Lists of any signals to be set. Generally, new contexts should only set "
1680
1680
"traps and leave the flags clear."
1681
- msgstr ""
1681
+ msgstr "由要设置的任何信号组成的列表。 通常,新上下文应当只设置 traps 而让 flags 为空。 "
1682
1682
1683
1683
#: ../../library/decimal.rst:1092
1684
1684
msgid ""
1685
1685
"Integers specifying the outer limits allowable for exponents. *Emin* must be"
1686
1686
" in the range [:const:`MIN_EMIN`, ``0``], *Emax* in the range [``0``, "
1687
1687
":const:`MAX_EMAX`]."
1688
1688
msgstr ""
1689
+ "指明指数所允许的外部上限的整数。 *Emin* 必须在 [:const:`MIN_EMIN`, ``0``] 范围内,*Emax* 必须在 "
1690
+ "[``0``, :const:`MAX_EMAX`] 范围内。"
1689
1691
1690
1692
#: ../../library/decimal.rst:1098
1691
1693
msgid ""
1692
1694
"Either ``0`` or ``1`` (the default). If set to ``1``, exponents are printed "
1693
1695
"with a capital ``E``; otherwise, a lowercase ``e`` is used: "
1694
1696
"``Decimal('6.02e+23')``."
1695
1697
msgstr ""
1698
+ "值为 ``0`` 或 ``1`` (默认值)。 如果设为 ``1``,打印指数时将附带一个大写的 ``E``;在其他情况下,将使用小写的 ``e``: "
1699
+ "``Decimal('6.02e+23')``。"
1696
1700
1697
1701
#: ../../library/decimal.rst:1104
1698
1702
msgid ""
@@ -1707,6 +1711,12 @@ msgid ""
1707
1711
"number but loses information about significant trailing zeros. For "
1708
1712
"example::"
1709
1713
msgstr ""
1714
+ "值为 ``0`` (默认值) 或 ``1``。 如果设为 ``1``,则 :class:`Decimal` 实例的指数 ``e`` "
1715
+ "在此上下文中将严格限制表示范围在 ``Emin - prec + 1 <= e <= Emax - prec + 1`` 之内。 如果 *clamp* "
1716
+ "为 ``0`` 则将适用较弱的条件:调整后的 :class:`Decimal` 实例指数最大值为 :attr:`~Context.Emax`。 当 "
1717
+ "*clamp* 为 ``1`` "
1718
+ "时,一个很大的普通数值将在可能的情况下减小其指数并为其系数添加相应数量的零,以便符合指数值范围的限制;这可以保持数字值但会丢失有效末尾零的信息。 "
1719
+ "例如::"
1710
1720
1711
1721
#: ../../library/decimal.rst:1115
1712
1722
msgid ""
@@ -2462,7 +2472,7 @@ msgstr ""
2462
2472
2463
2473
#: ../../library/decimal.rst:1759
2464
2474
msgid "Floating-point notes"
2465
- msgstr ""
2475
+ msgstr "浮点数说明 "
2466
2476
2467
2477
#: ../../library/decimal.rst:1763
2468
2478
msgid "Mitigating round-off error with increased precision"
0 commit comments