@@ -2023,184 +2023,229 @@ msgstr ""
20232023#: ../../library/decimal.rst:1214
20242024msgid "Returns the absolute value of *x*."
20252025msgstr ""
2026+ "返回 *x* 的絕對值。"
20262027
20272028#: ../../library/decimal.rst:1219
20282029msgid "Return the sum of *x* and *y*."
20292030msgstr ""
2031+ "返回 *x* 和 *y* 的和。"
20302032
20312033#: ../../library/decimal.rst:1224
20322034msgid "Returns the same Decimal object *x*."
20332035msgstr ""
2036+ "返回相同的 Decimal 物件 *x*。"
20342037
20352038#: ../../library/decimal.rst:1229
20362039msgid "Compares *x* and *y* numerically."
20372040msgstr ""
2041+ "數值比較 *x* 和 *y*。"
20382042
20392043#: ../../library/decimal.rst:1234
20402044msgid "Compares the values of the two operands numerically."
20412045msgstr ""
2046+ "數值比較兩個運算元的值。"
20422047
20432048#: ../../library/decimal.rst:1239
20442049msgid "Compares two operands using their abstract representation."
20452050msgstr ""
2051+ "使用兩個運算元的抽象表示法進行比較。"
20462052
20472053#: ../../library/decimal.rst:1244
20482054msgid ""
20492055"Compares two operands using their abstract representation, ignoring sign."
20502056msgstr ""
2057+ "使用兩個運算元的抽象表示法進行比較,忽略符號。"
20512058
20522059#: ../../library/decimal.rst:1249
20532060msgid "Returns a copy of *x* with the sign set to 0."
20542061msgstr ""
2062+ "返回 *x* 的副本,將符號設定為 0。"
20552063
20562064#: ../../library/decimal.rst:1254
20572065msgid "Returns a copy of *x* with the sign inverted."
20582066msgstr ""
2067+ "返回 *x* 的副本,將符號反轉。"
20592068
20602069#: ../../library/decimal.rst:1259
20612070msgid "Copies the sign from *y* to *x*."
20622071msgstr ""
2072+ "將 *y* 的符號複製到 *x*。"
20632073
20642074#: ../../library/decimal.rst:1264
20652075msgid "Return *x* divided by *y*."
20662076msgstr ""
2077+ "返回 *x* 除以 *y*。"
20672078
20682079#: ../../library/decimal.rst:1269
20692080msgid "Return *x* divided by *y*, truncated to an integer."
20702081msgstr ""
2082+ "返回 *x* 除以 *y*,截斷為整數。"
20712083
20722084#: ../../library/decimal.rst:1274
20732085msgid "Divides two numbers and returns the integer part of the result."
20742086msgstr ""
2087+ "將兩個數相除並返回結果的整數部分。"
20752088
20762089#: ../../library/decimal.rst:1279
20772090msgid "Returns ``e ** x``."
20782091msgstr ""
2092+ "返回 ``e ** x``。"
20792093
20802094#: ../../library/decimal.rst:1284
20812095msgid "Returns *x* multiplied by *y*, plus *z*."
20822096msgstr ""
2097+ "返回 *x* 乘以 *y* 再加上 *z*。"
20832098
20842099#: ../../library/decimal.rst:1289
20852100msgid "Returns ``True`` if *x* is canonical; otherwise returns ``False``."
20862101msgstr ""
2102+ "如果 *x* 是標準形式則返回 ``True``;否則返回 ``False``。"
20872103
20882104#: ../../library/decimal.rst:1294
20892105msgid "Returns ``True`` if *x* is finite; otherwise returns ``False``."
20902106msgstr ""
2107+ "如果 *x* 是有限的則返回 ``True``;否則返回 ``False``。"
20912108
20922109#: ../../library/decimal.rst:1299
20932110msgid "Returns ``True`` if *x* is infinite; otherwise returns ``False``."
20942111msgstr ""
2112+ "如果 *x* 是無窮大則返回 ``True``;否則返回 ``False``。"
20952113
20962114#: ../../library/decimal.rst:1304
20972115msgid "Returns ``True`` if *x* is a qNaN or sNaN; otherwise returns ``False``."
20982116msgstr ""
2117+ "如果 *x* 是 qNaN 或 sNaN 則返回 ``True``;否則返回 ``False``。"
20992118
21002119#: ../../library/decimal.rst:1309
21012120msgid ""
21022121"Returns ``True`` if *x* is a normal number; otherwise returns ``False``."
21032122msgstr ""
2123+ "如果 *x* 是正規數則返回 ``True``;否則返回 ``False``。"
21042124
21052125#: ../../library/decimal.rst:1314
21062126msgid "Returns ``True`` if *x* is a quiet NaN; otherwise returns ``False``."
21072127msgstr ""
2128+ "如果 *x* 是安靜 NaN 則返回 ``True``;否則返回 ``False``。"
21082129
21092130#: ../../library/decimal.rst:1319
21102131msgid "Returns ``True`` if *x* is negative; otherwise returns ``False``."
21112132msgstr ""
2133+ "如果 *x* 是負數則返回 ``True``;否則返回 ``False``。"
21122134
21132135#: ../../library/decimal.rst:1324
21142136msgid ""
21152137"Returns ``True`` if *x* is a signaling NaN; otherwise returns ``False``."
21162138msgstr ""
2139+ "如果 *x* 是發出訊號的 NaN 則返回 ``True``;否則返回 ``False``。"
21172140
21182141#: ../../library/decimal.rst:1329
21192142msgid "Returns ``True`` if *x* is subnormal; otherwise returns ``False``."
21202143msgstr ""
2144+ "如果 *x* 是次正規則返回 ``True``;否則返回 ``False``。"
21212145
21222146#: ../../library/decimal.rst:1334
21232147msgid "Returns ``True`` if *x* is a zero; otherwise returns ``False``."
21242148msgstr ""
2149+ "如果 *x* 是零則返回 ``True``;否則返回 ``False``。"
21252150
21262151#: ../../library/decimal.rst:1339
21272152msgid "Returns the natural (base e) logarithm of *x*."
21282153msgstr ""
2154+ "返回 *x* 的自然(以 e 為底)對數。"
21292155
21302156#: ../../library/decimal.rst:1344
21312157msgid "Returns the base 10 logarithm of *x*."
21322158msgstr ""
2159+ "返回 *x* 的十進位對數。"
21332160
21342161#: ../../library/decimal.rst:1349
21352162msgid "Returns the exponent of the magnitude of the operand's MSD."
21362163msgstr ""
2164+ "返回運算元的 MSD 量級的指數。"
21372165
21382166#: ../../library/decimal.rst:1354
21392167msgid "Applies the logical operation *and* between each operand's digits."
21402168msgstr ""
2169+ "在每個運算元的數字之間套用邏輯運算 *and*。"
21412170
21422171#: ../../library/decimal.rst:1359
21432172msgid "Invert all the digits in *x*."
21442173msgstr ""
2174+ "反轉 *x* 中的所有數字。"
21452175
21462176#: ../../library/decimal.rst:1364
21472177msgid "Applies the logical operation *or* between each operand's digits."
21482178msgstr ""
2179+ "在每個運算元的數字之間套用邏輯運算 *or*。"
21492180
21502181#: ../../library/decimal.rst:1369
21512182msgid "Applies the logical operation *xor* between each operand's digits."
21522183msgstr ""
2184+ "在每個運算元的數字之間套用邏輯運算 *xor*。"
21532185
21542186#: ../../library/decimal.rst:1374
21552187msgid "Compares two values numerically and returns the maximum."
21562188msgstr ""
2189+ "數值比較兩個值並返回最大值。"
21572190
21582191#: ../../library/decimal.rst:1379 ../../library/decimal.rst:1389
21592192msgid "Compares the values numerically with their sign ignored."
21602193msgstr ""
2194+ "數值比較值,忽略其符號。"
21612195
21622196#: ../../library/decimal.rst:1384
21632197msgid "Compares two values numerically and returns the minimum."
21642198msgstr ""
2199+ "數值比較兩個值並返回最小值。"
21652200
21662201#: ../../library/decimal.rst:1394
21672202msgid "Minus corresponds to the unary prefix minus operator in Python."
21682203msgstr ""
2204+ "Minus 對應於 Python 中的一元前綴減號運算子。"
21692205
21702206#: ../../library/decimal.rst:1399
21712207msgid "Return the product of *x* and *y*."
21722208msgstr ""
2209+ "返回 *x* 和 *y* 的乘積。"
21732210
21742211#: ../../library/decimal.rst:1404
21752212msgid "Returns the largest representable number smaller than *x*."
21762213msgstr ""
2214+ "返回小於 *x* 的最大可表示數字。"
21772215
21782216#: ../../library/decimal.rst:1409
21792217msgid "Returns the smallest representable number larger than *x*."
21802218msgstr ""
2219+ "返回大於 *x* 的最小可表示數字。"
21812220
21822221#: ../../library/decimal.rst:1414
21832222msgid "Returns the number closest to *x*, in direction towards *y*."
21842223msgstr ""
2224+ "返回最接近 *x* 的數字,方向指向 *y*。"
21852225
21862226#: ../../library/decimal.rst:1419
21872227msgid "Reduces *x* to its simplest form."
21882228msgstr ""
2229+ "將 *x* 簡化為最簡形式。"
21892230
21902231#: ../../library/decimal.rst:1424
21912232msgid "Returns an indication of the class of *x*."
21922233msgstr ""
2234+ "返回 *x* 類別的指示。"
21932235
21942236#: ../../library/decimal.rst:1429
21952237msgid ""
21962238"Plus corresponds to the unary prefix plus operator in Python. This "
21972239"operation applies the context precision and rounding, so it is *not* an "
21982240"identity operation."
21992241msgstr ""
2242+ "Plus 對應於 Python 中的一元前綴加號運算子。此運算會套用 context 精度和"
2243+ "将位,因此它 *不是* 一個恆等運算。"
22002244
22012245#: ../../library/decimal.rst:1436
22022246msgid "Return ``x`` to the power of ``y``, reduced modulo ``modulo`` if given."
22032247msgstr ""
2248+ "返回 ``x`` 的 ``y`` 次方,如果有提供則總是 ``modulo`` 的簡化結果。"
22042249
22052250#: ../../library/decimal.rst:1438
22062251msgid ""
@@ -2210,6 +2255,10 @@ msgid ""
22102255"rounding mode of the context is used. Results are always correctly rounded "
22112256"in the Python version."
22122257msgstr ""
2258+ "使用兩個引數計算 ``x**y``。如果 ``x`` 是負數,則 ``y`` 必須是整數。"
2259+ "除非 ``y`` 是整數且結果是有限的且可以在「精度」位數中精確表示,"
2260+ "否則結果將是不精確的。使用 context 的将位模式。在 Python 版本中,"
2261+ "結果總是正確将位的。"
22132262
22142263#: ../../library/decimal.rst:1444
22152264msgid ""
@@ -2223,28 +2272,36 @@ msgid ""
22232272"`exp` and :meth:`ln` functions. The result is well-defined but only\" almost "
22242273"always correctly rounded\" ."
22252274msgstr ""
2275+ "C 模組以正確将位的 :meth:`exp` 和 :meth:`ln` 函式來計算 :meth:`power`。"
2276+ "結果是定義良好的,但只是「幾乎總是正確将位」。"
22262277
22272278#: ../../library/decimal.rst:1452
22282279msgid ""
22292280"With three arguments, compute ``(x**y) % modulo``. For the three argument "
22302281"form, the following restrictions on the arguments hold:"
22312282msgstr ""
2283+ "使用三個引數計算 ``(x**y) % modulo``。對於三個引數的形式,引數有"
2284+ "以下限制:"
22322285
22332286#: ../../library/decimal.rst:1455
22342287msgid "all three arguments must be integral"
22352288msgstr ""
2289+ "所有三個引數必須是整數"
22362290
22372291#: ../../library/decimal.rst:1456
22382292msgid "``y`` must be nonnegative"
22392293msgstr ""
2294+ "``y`` 必須是非負數"
22402295
22412296#: ../../library/decimal.rst:1457
22422297msgid "at least one of ``x`` or ``y`` must be nonzero"
22432298msgstr ""
2299+ "``x`` 或 ``y`` 中至少一個必須是非零"
22442300
22452301#: ../../library/decimal.rst:1458
22462302msgid "``modulo`` must be nonzero and have at most 'precision' digits"
22472303msgstr ""
2304+ "``modulo`` 必須是非零且最多有「精度」位數"
22482305
22492306#: ../../library/decimal.rst:1460
22502307msgid ""
@@ -2254,30 +2311,38 @@ msgid ""
22542311"zero, regardless of the exponents of ``x``, ``y`` and ``modulo``. The "
22552312"result is always exact."
22562313msgstr ""
2314+ "精度,但計算更加高效。結果的指數是零,無論 ``x``、``y`` 和 "
2315+ "``modulo`` 的指數如何。結果總是精確的。"
22572316
22582317#: ../../library/decimal.rst:1470
22592318msgid "Returns a value equal to *x* (rounded), having the exponent of *y*."
22602319msgstr ""
2320+ "返回等於 *x*(将位後)的值,具有 *y* 的指數。"
22612321
22622322#: ../../library/decimal.rst:1475
22632323msgid "Just returns 10, as this is Decimal, :)"
22642324msgstr ""
2325+ "只返回 10,因為這是 Decimal :)"
22652326
22662327#: ../../library/decimal.rst:1480
22672328msgid "Returns the remainder from integer division."
22682329msgstr ""
2330+ "返回整數除法的餘數。"
22692331
22702332#: ../../library/decimal.rst:1482
22712333msgid ""
22722334"The sign of the result, if non-zero, is the same as that of the original "
22732335"dividend."
22742336msgstr ""
2337+ "結果的符號(如果非零)與原始被除數的符號相同。"
22752338
22762339#: ../../library/decimal.rst:1488
22772340msgid ""
22782341"Returns ``x - y * n``, where *n* is the integer nearest the exact value of "
22792342"``x / y`` (if the result is 0 then its sign will be the sign of *x*)."
22802343msgstr ""
2344+ "返回 ``x - y * n``,其中 *n* 是最接近 ``x / y`` 精確值的整數(如果"
2345+ "結果是 0,則其符號將是 *x* 的符號)。"
22812346
22822347#: ../../library/decimal.rst:1494
22832348msgid "Returns a rotated copy of *x*, *y* times."
@@ -2286,30 +2351,37 @@ msgstr ""
22862351#: ../../library/decimal.rst:1499
22872352msgid "Returns ``True`` if the two operands have the same exponent."
22882353msgstr ""
2354+ "如果兩個運算元具有相同的指數則返回 ``True``。"
22892355
22902356#: ../../library/decimal.rst:1504
22912357msgid "Returns the first operand after adding the second value its exp."
22922358msgstr ""
2359+ "返回第一個運算元在加上第二個值的 exp 後的結果。"
22932360
22942361#: ../../library/decimal.rst:1509
22952362msgid "Returns a shifted copy of *x*, *y* times."
22962363msgstr ""
2364+ "返回 *x* 的移位副本,移位 *y* 次。"
22972365
22982366#: ../../library/decimal.rst:1514
22992367msgid "Square root of a non-negative number to context precision."
23002368msgstr ""
2369+ "非負數在 context 精度下的平方根。"
23012370
23022371#: ../../library/decimal.rst:1519
23032372msgid "Return the difference between *x* and *y*."
23042373msgstr ""
2374+ "返回 *x* 和 *y* 的差。"
23052375
23062376#: ../../library/decimal.rst:1533
23072377msgid "Rounds to an integer."
23082378msgstr ""
2379+ "將位為整數。"
23092380
23102381#: ../../library/decimal.rst:1538
23112382msgid "Converts a number to a string using scientific notation."
23122383msgstr ""
2384+ "使用科學記號法將數字轉換為字串。"
23132385
23142386#: ../../library/decimal.rst:1545
23152387msgid "Constants"
@@ -2641,6 +2713,9 @@ msgid ""
26412713"floating-point arithmetic with insufficient precision causes the breakdown "
26422714"of the associative and distributive properties of addition:"
26432715msgstr ""
2716+ "捨入誤差的影響可能會因為幾乎抵消的數量的加法或減法而被放大,導致有效位數的"
2717+ "損失。Knuth 提供了兩個教學範例,其中精度不足的捨入浮點運算導致加法的結合"
2718+ "律和分配律失效:"
26442719
26452720#: ../../library/decimal.rst:1775
26462721msgid ""