99msgstr ""
1010"Project-Id-Version : Python 3.14\n "
1111"Report-Msgid-Bugs-To : \n "
12- "POT-Creation-Date : 2025-11-13 00:15 +0000\n "
12+ "POT-Creation-Date : 2025-11-19 00:14 +0000\n "
1313"PO-Revision-Date : 2025-11-07 05:06+0000\n "
1414"Last-Translator : Matt Wang <mattwang44@gmail.com>\n "
1515"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -143,61 +143,101 @@ msgstr ""
143143"集。"
144144
145145#: ../../c-api/float.rst:101
146+ msgid "Equivalent to :c:macro:`!INFINITY`."
147+ msgstr ""
148+
149+ #: ../../c-api/float.rst:103
150+ msgid "The macro is :term:`soft deprecated`."
151+ msgstr ""
152+
153+ #: ../../c-api/float.rst:109
146154msgid ""
147155"The definition (accurate for a :c:expr:`double` type) of the :data:`math.e` "
148156"constant."
149157msgstr ":data:`math.e` 常數的定義(對 :c:expr:`double` 型別而言是準確的)。"
150158
151- #: ../../c-api/float.rst:106
159+ #: ../../c-api/float.rst:114
152160msgid "High precision (long double) definition of :data:`~math.e` constant."
153161msgstr "高精度(long double)定義的 :data:`~math.e` 常數。"
154162
155- #: ../../c-api/float.rst:111
163+ #: ../../c-api/float.rst:119
156164msgid ""
157165"The definition (accurate for a :c:expr:`double` type) of the :data:`math.pi` "
158166"constant."
159167msgstr ":data:`math.pi` 常數的定義(對 :c:expr:`double` 型別而言是準確的)。"
160168
161- #: ../../c-api/float.rst:116
169+ #: ../../c-api/float.rst:124
162170msgid "High precision (long double) definition of :data:`~math.pi` constant."
163171msgstr "高精度(long double)定義的 :data:`~math.pi` 常數。"
164172
165- #: ../../c-api/float.rst:121
173+ #: ../../c-api/float.rst:129
166174msgid ""
167175"The definition (accurate for a :c:expr:`double` type) of the :data:`math."
168176"tau` constant."
169177msgstr ":data:`math.tau` 常數的定義(對 :c:expr:`double` 型別而言是準確的)。"
170178
171- #: ../../c-api/float.rst:128
179+ #: ../../c-api/float.rst:136
172180msgid "Return :data:`math.nan` from a function."
173181msgstr "從函式回傳 :data:`math.nan`。"
174182
175- #: ../../c-api/float.rst:130
183+ #: ../../c-api/float.rst:138
176184msgid ""
177185"On most platforms, this is equivalent to ``return PyFloat_FromDouble(NAN)``."
178186msgstr "在大多數平台上,這相當於 ``return PyFloat_FromDouble(NAN)``。"
179187
180- #: ../../c-api/float.rst:135
188+ #: ../../c-api/float.rst:143
181189msgid ""
182190"Return :data:`math.inf` or :data:`-math.inf <math.inf>` from a function, "
183191"depending on the sign of *sign*."
184192msgstr ""
185193"根據 *sign* 的正負號,從函式回傳 :data:`math.inf` 或 :data:`-math.inf <math."
186194"inf>`。"
187195
188- #: ../../c-api/float.rst:138
196+ #: ../../c-api/float.rst:146
189197msgid "On most platforms, this is equivalent to the following::"
190198msgstr "在大多數平台上,這相當於以下內容: ::"
191199
192- #: ../../c-api/float.rst:140
200+ #: ../../c-api/float.rst:148
193201msgid "return PyFloat_FromDouble(copysign(INFINITY, sign));"
194202msgstr "return PyFloat_FromDouble(copysign(INFINITY, sign));"
195203
196- #: ../../c-api/float.rst:144
204+ #: ../../c-api/float.rst:153
205+ msgid ""
206+ "Return ``1`` if the given floating-point number *X* is finite, that is, it "
207+ "is normal, subnormal or zero, but not infinite or NaN. Return ``0`` "
208+ "otherwise."
209+ msgstr ""
210+
211+ #: ../../c-api/float.rst:157
212+ msgid ""
213+ "The macro is :term:`soft deprecated`. Use :c:macro:`!isfinite` instead."
214+ msgstr ""
215+
216+ #: ../../c-api/float.rst:163
217+ msgid ""
218+ "Return ``1`` if the given floating-point number *X* is positive or negative "
219+ "infinity. Return ``0`` otherwise."
220+ msgstr ""
221+
222+ #: ../../c-api/float.rst:166
223+ msgid "The macro is :term:`soft deprecated`. Use :c:macro:`!isinf` instead."
224+ msgstr ""
225+
226+ #: ../../c-api/float.rst:172
227+ msgid ""
228+ "Return ``1`` if the given floating-point number *X* is a not-a-number (NaN) "
229+ "value. Return ``0`` otherwise."
230+ msgstr ""
231+
232+ #: ../../c-api/float.rst:175
233+ msgid "The macro is :term:`soft deprecated`. Use :c:macro:`!isnan` instead."
234+ msgstr ""
235+
236+ #: ../../c-api/float.rst:180
197237msgid "Pack and Unpack functions"
198238msgstr "打包和解包函式"
199239
200- #: ../../c-api/float.rst:146
240+ #: ../../c-api/float.rst:182
201241msgid ""
202242"The pack and unpack functions provide an efficient platform-independent way "
203243"to store floating-point values as byte strings. The Pack routines produce a "
@@ -209,7 +249,7 @@ msgstr ""
209249"例程從 C :c:expr:`double` 產生位元組字串,而解包例程則從這樣的位元組字串產生 "
210250"C :c:expr:`double`。後綴(2、4 或 8)標示了位元組字串中的位元組數。"
211251
212- #: ../../c-api/float.rst:152
252+ #: ../../c-api/float.rst:188
213253msgid ""
214254"On platforms that appear to use IEEE 754 formats these functions work by "
215255"copying bits. On other platforms, the 2-byte format is identical to the IEEE "
@@ -226,15 +266,15 @@ msgstr ""
226266"格式相同。儘管如此,INF 和 NaN(如果這些東西在平台上存在)的打包並未正確處"
227267"理,並且嘗試解包包含 IEEE INF 或 NaN 的位元組字串將引發例外。"
228268
229- #: ../../c-api/float.rst:161
269+ #: ../../c-api/float.rst:197
230270msgid ""
231271"Note that NaNs type may not be preserved on IEEE platforms (signaling NaN "
232272"become quiet NaN), for example on x86 systems in 32-bit mode."
233273msgstr ""
234274"請注意,在 IEEE 平台上可能無法保留 NaN 型別(「訊號型 NaN (signaling NaN)」會"
235275"變成「安靜型 NaN (quiet NaN)」),例如在 32 位元模式的 x86 系統上。"
236276
237- #: ../../c-api/float.rst:164
277+ #: ../../c-api/float.rst:200
238278msgid ""
239279"On non-IEEE platforms with more precision, or larger dynamic range, than "
240280"IEEE 754 supports, not all values can be packed; on non-IEEE platforms with "
@@ -245,11 +285,11 @@ msgstr ""
245285"有值;在非 IEEE 平台上,如果精度較低或動態範圍較小,則無法解包所有值。在這種"
246286"案例下發生的情況在某種程度上是偶然的(唉)。"
247287
248- #: ../../c-api/float.rst:172
288+ #: ../../c-api/float.rst:208
249289msgid "Pack functions"
250290msgstr "打包函式"
251291
252- #: ../../c-api/float.rst:174
292+ #: ../../c-api/float.rst:210
253293msgid ""
254294"The pack routines write 2, 4 or 8 bytes, starting at *p*. *le* is an :c:expr:"
255295"`int` argument, non-zero if you want the bytes string in little-endian "
@@ -264,43 +304,43 @@ msgstr ""
264304"零。可以使用 :c:macro:`PY_BIG_ENDIAN` 常數來使用原生端序:在大端序處理器上它"
265305"等於 ``1``,在小端序處理器上它等於 ``0``。"
266306
267- #: ../../c-api/float.rst:181
307+ #: ../../c-api/float.rst:217
268308msgid ""
269309"Return value: ``0`` if all is OK, ``-1`` if error (and an exception is set, "
270310"most likely :exc:`OverflowError`)."
271311msgstr ""
272312"回傳值:如果一切正常則為 ``0``,如果發生錯誤則為 ``-1``\\ (並且會設定一個例"
273313"外,最有可能是 :exc:`OverflowError`)。"
274314
275- #: ../../c-api/float.rst:184
315+ #: ../../c-api/float.rst:220
276316msgid "There are two problems on non-IEEE platforms:"
277317msgstr "在非 IEEE 平台上有兩個問題:"
278318
279- #: ../../c-api/float.rst:186
319+ #: ../../c-api/float.rst:222
280320msgid "What this does is undefined if *x* is a NaN or infinity."
281321msgstr "如果 *x* 是 NaN 或無窮大,則這樣做是未定義的。"
282322
283- #: ../../c-api/float.rst:187
323+ #: ../../c-api/float.rst:223
284324msgid "``-0.0`` and ``+0.0`` produce the same bytes string."
285325msgstr "``-0.0`` 和 ``+0.0`` 會產生同樣的位元組字串。"
286326
287- #: ../../c-api/float.rst:191
327+ #: ../../c-api/float.rst:227
288328msgid "Pack a C double as the IEEE 754 binary16 half-precision format."
289329msgstr "將 C double 打包為 IEEE 754 binary16 半精度格式。"
290330
291- #: ../../c-api/float.rst:195
331+ #: ../../c-api/float.rst:231
292332msgid "Pack a C double as the IEEE 754 binary32 single precision format."
293333msgstr "將 C double 打包為 IEEE 754 binary32 單精度格式。"
294334
295- #: ../../c-api/float.rst:199
335+ #: ../../c-api/float.rst:235
296336msgid "Pack a C double as the IEEE 754 binary64 double precision format."
297337msgstr "將 C double 打包為 IEEE 754 binary64 雙精度格式。"
298338
299- #: ../../c-api/float.rst:203
339+ #: ../../c-api/float.rst:239
300340msgid "Unpack functions"
301341msgstr "解包函式"
302342
303- #: ../../c-api/float.rst:205
343+ #: ../../c-api/float.rst:241
304344msgid ""
305345"The unpack routines read 2, 4 or 8 bytes, starting at *p*. *le* is an :c:"
306346"expr:`int` argument, non-zero if the bytes string is in little-endian format "
@@ -315,7 +355,7 @@ msgstr ""
315355"使用 :c:macro:`PY_BIG_ENDIAN` 常數來使用原生端序:在大端序處理器上它等於 "
316356"``1``,在小端序處理器上它等於 ``0``。"
317357
318- #: ../../c-api/float.rst:212
358+ #: ../../c-api/float.rst:248
319359msgid ""
320360"Return value: The unpacked double. On error, this is ``-1.0`` and :c:func:"
321361"`PyErr_Occurred` is true (and an exception is set, most likely :exc:"
@@ -325,22 +365,22 @@ msgstr ""
325365"`PyErr_Occurred` 為 true(並且會設置一個例外,最有可能是 :exc:"
326366"`OverflowError`)。"
327367
328- #: ../../c-api/float.rst:216
368+ #: ../../c-api/float.rst:252
329369msgid ""
330370"Note that on a non-IEEE platform this will refuse to unpack a bytes string "
331371"that represents a NaN or infinity."
332372msgstr ""
333373"請注意,在非 IEEE 平台上,這將拒絕解包會表示為 NaN 或無窮大的位元組字串。"
334374
335- #: ../../c-api/float.rst:221
375+ #: ../../c-api/float.rst:257
336376msgid "Unpack the IEEE 754 binary16 half-precision format as a C double."
337377msgstr "將 IEEE 754 binary16 半精度格式解包為 C double。"
338378
339- #: ../../c-api/float.rst:225
379+ #: ../../c-api/float.rst:261
340380msgid "Unpack the IEEE 754 binary32 single precision format as a C double."
341381msgstr "將 IEEE 754 binary32 單精度格式解包為 C double。"
342382
343- #: ../../c-api/float.rst:229
383+ #: ../../c-api/float.rst:265
344384msgid "Unpack the IEEE 754 binary64 double precision format as a C double."
345385msgstr "將 IEEE 754 binary64 雙精度格式解包為 C double。"
346386
0 commit comments