@@ -70,18 +70,23 @@ msgid ""
70
70
"*x*. If *x* is not a float, delegates to :meth:`x.__ceil__ <object."
71
71
"__ceil__>`, which should return an :class:`~numbers.Integral` value."
72
72
msgstr ""
73
+ "*x* の「天井」 (*x* 以上の最小の整数) を返します。 *x* が浮動小数点数でなけれ"
74
+ "ば、内部的に :meth:`x.__ceil__ <object.__ceil__>` が実行され、 :class:"
75
+ "`~numbers.Integral` 値が返されます。"
73
76
74
77
#: ../../library/math.rst:41
75
78
msgid ""
76
79
"Return the number of ways to choose *k* items from *n* items without "
77
80
"repetition and without order."
78
- msgstr ""
81
+ msgstr "*n* 個の中から *k* 個を重複無く順序をつけずに選ぶ方法の数を返します。 "
79
82
80
83
#: ../../library/math.rst:44
81
84
msgid ""
82
85
"Evaluates to ``n! / (k! * (n - k)!)`` when ``k <= n`` and evaluates to zero "
83
86
"when ``k > n``."
84
87
msgstr ""
88
+ "``k <= n`` のとき ``n! / (k! * (n - k)!)`` と評価し、``k > n`` のとき 0 と評"
89
+ "価します。"
85
90
86
91
#: ../../library/math.rst:47
87
92
msgid ""
@@ -95,6 +100,8 @@ msgid ""
95
100
"Raises :exc:`TypeError` if either of the arguments are not integers. Raises :"
96
101
"exc:`ValueError` if either of the arguments are negative."
97
102
msgstr ""
103
+ "いずれかの引数が整数でないなら :exc:`TypeError` を送出します。いずれかの引数"
104
+ "が負であれば :exc:`ValueError` を送出します。"
98
105
99
106
#: ../../library/math.rst:59
100
107
msgid ""
@@ -120,14 +127,17 @@ msgstr ""
120
127
121
128
#: ../../library/math.rst:74
122
129
msgid "Accepting floats with integral values (like ``5.0``) is deprecated."
123
- msgstr ""
130
+ msgstr "(``5.0`` のような) 整数値を持つ浮動小数点数を受け取るのは非推奨です。 "
124
131
125
132
#: ../../library/math.rst:80
126
133
msgid ""
127
134
"Return the floor of *x*, the largest integer less than or equal to *x*. If "
128
135
"*x* is not a float, delegates to :meth:`x.__floor__ <object.__floor__>`, "
129
136
"which should return an :class:`~numbers.Integral` value."
130
137
msgstr ""
138
+ "*x* の「床」 (*x* 以下の最大の整数) を返します。 *x* が浮動小数点数でなけれ"
139
+ "ば、内部的に :meth:`x.__floor__ <object.__floor__>` が実行され、 :class:"
140
+ "`~numbers.Integral` 値が返されます。"
131
141
132
142
#: ../../library/math.rst:87
133
143
msgid ""
@@ -165,8 +175,8 @@ msgid ""
165
175
msgstr ""
166
176
"*x* の仮数と指数を ``(m, e)`` のペアとして返します。*m* はfloat型で、*e* は厳"
167
177
"密に ``x == m * 2**e`` であるような整数型です。*x* がゼロの場合は、``(0.0, "
168
- "0)`` を返し、それ以外の場合は、``0.5 <= abs(m) < 1``を返します。これは浮動小 "
169
- "数点型の内部表現を可搬性を保ったまま \" 分解 (pick apart)\" するためです 。"
178
+ "0)`` を返し、それ以外の場合は、``0.5 <= abs(m) < 1``です。これは浮動小数点型 "
179
+ "の内部表現を可搬性を保ったまま \" 分解 (pick apart)\" するために使われます 。"
170
180
171
181
#: ../../library/math.rst:110
172
182
msgid ""
@@ -207,12 +217,17 @@ msgid ""
207
217
"zero, then the returned value is ``0``. ``gcd()`` without arguments returns "
208
218
"``0``."
209
219
msgstr ""
220
+ "指定された整数引数の最大公約数を返します。0 でない引数があれば、返される値は"
221
+ "全ての引数の約数である最大の正の整数です。全ての引数が 0 なら、返される値は "
222
+ "``0`` です。引数の無い ``gcd()`` は ``0`` を返します。"
210
223
211
224
#: ../../library/math.rst:139
212
225
msgid ""
213
226
"Added support for an arbitrary number of arguments. Formerly, only two "
214
227
"arguments were supported."
215
228
msgstr ""
229
+ "任意の数の引数のサポートが追加されました。以前は、二つの引数のみがサポートさ"
230
+ "れていました。"
216
231
217
232
#: ../../library/math.rst:146
218
233
msgid ""
@@ -305,6 +320,8 @@ msgid ""
305
320
"floor of the exact square root of *n*, or equivalently the greatest integer "
306
321
"*a* such that *a*\\ ² |nbsp| ≤ |nbsp| *n*."
307
322
msgstr ""
323
+ "非負整数 *n* の整数平方根を返します。これは *n* の正確な平方根の床であり、 "
324
+ "*a*\\ ² |nbsp| ≤ |nbsp| *n* を満たす最大の整数 *a* と等価です。"
308
325
309
326
#: ../../library/math.rst:201
310
327
msgid ""
@@ -313,6 +330,9 @@ msgid ""
313
330
"the exact square root of *n*. For positive *n*, this can be computed using "
314
331
"``a = 1 + isqrt(n - 1)``."
315
332
msgstr ""
333
+ "少し応用すれば、*n* |nbsp| ≤ |nbsp| *a*\\ ² を満たす最小の整数 *a* 、言い換え"
334
+ "れば *n* の正確な平方根の天井を効率的に得られます。正の *n* に対して、これは "
335
+ "``a = 1 + isqrt(n - 1)`` を使って計算できます。"
316
336
317
337
#: ../../library/math.rst:211
318
338
msgid ""
@@ -322,6 +342,9 @@ msgid ""
322
342
"zero, then the returned value is ``0``. ``lcm()`` without arguments returns "
323
343
"``1``."
324
344
msgstr ""
345
+ "指定された整数引数の最小公倍数を返します。全ての引数が 0 でなければ、返される"
346
+ "値は全ての引数の倍数である最小の正の整数です。引数に 0 があれば、返される値"
347
+ "は ``0`` です。引数の無い ``lcm()`` は ``1`` を返します。"
325
348
326
349
#: ../../library/math.rst:222
327
350
msgid ""
@@ -343,7 +366,7 @@ msgstr ""
343
366
344
367
#: ../../library/math.rst:236
345
368
msgid "If *x* is equal to *y*, return *y*."
346
- msgstr ""
369
+ msgstr "*x* が *y* に等しければ、*y* を返します。 "
347
370
348
371
#: ../../library/math.rst:238
349
372
msgid "Examples:"
@@ -359,11 +382,12 @@ msgstr ""
359
382
360
383
#: ../../library/math.rst:242
361
384
msgid "``math.nextafter(x, 0.0)`` goes towards zero."
362
- msgstr ""
385
+ msgstr "``math.nextafter(x, 0.0)`` は 0 に近づきます。 "
363
386
364
387
#: ../../library/math.rst:243
365
388
msgid "``math.nextafter(x, math.copysign(math.inf, x))`` goes away from zero."
366
389
msgstr ""
390
+ "``math.nextafter(x, math.copysign(math.inf, x))`` は 0 から遠ざかります。"
367
391
368
392
#: ../../library/math.rst:245
369
393
msgid "See also :func:`math.ulp`."
@@ -373,32 +397,40 @@ msgstr ":func:`math.ulp` を参照してください。"
373
397
msgid ""
374
398
"Return the number of ways to choose *k* items from *n* items without "
375
399
"repetition and with order."
376
- msgstr ""
400
+ msgstr "*n* 個の中から *k* 個を重複無く順序をつけて選ぶ方法の数を返します。 "
377
401
378
402
#: ../../library/math.rst:254
379
403
msgid ""
380
404
"Evaluates to ``n! / (n - k)!`` when ``k <= n`` and evaluates to zero when "
381
405
"``k > n``."
382
406
msgstr ""
407
+ "``k <= n`` のとき ``n! / (n - k)!`` と評価し、``k > n`` のとき 0 と評価しま"
408
+ "す。"
383
409
384
410
#: ../../library/math.rst:257
385
411
msgid ""
386
412
"If *k* is not specified or is None, then *k* defaults to *n* and the "
387
413
"function returns ``n!``."
388
414
msgstr ""
415
+ "*k* が指定されていないか None であれば、*k* はデフォルトで *n* となりこの関数"
416
+ "は ``n!`` を返します。"
389
417
390
418
#: ../../library/math.rst:268
391
419
msgid ""
392
420
"Calculate the product of all the elements in the input *iterable*. The "
393
421
"default *start* value for the product is ``1``."
394
422
msgstr ""
423
+ "入力 *iterable* の全ての要素の積を計算します。積のデフォルト *start* 値は "
424
+ "``1`` です。"
395
425
396
426
#: ../../library/math.rst:271
397
427
msgid ""
398
428
"When the iterable is empty, return the start value. This function is "
399
429
"intended specifically for use with numeric values and may reject non-numeric "
400
430
"types."
401
431
msgstr ""
432
+ "イテラブルが空のとき、初期値を返します。この関数は特に数値に使うことを意図さ"
433
+ "れており、非数値を受け付けないことがあります。"
402
434
403
435
#: ../../library/math.rst:280
404
436
msgid ""
@@ -446,29 +478,37 @@ msgid ""
446
478
"delegates to :meth:`x.__trunc__ <object.__trunc__>`, which should return an :"
447
479
"class:`~numbers.Integral` value."
448
480
msgstr ""
481
+ "*x* の小数部を取り除き、残った整数部を返します。これは 0 に向かって丸められま"
482
+ "す: ``trunc()`` は正の *x* に対しては :func:`floor` に等しく、負の *x* に対し"
483
+ "ては :func:`ceil` に等しいです。*x* が浮動小数点数でなければ、内部的に :meth:"
484
+ "`x.__trunc__ <object.__trunc__>` が実行され、 :class:`~numbers.Integral` 値が"
485
+ "返されます。"
449
486
450
487
#: ../../library/math.rst:309
451
488
msgid "Return the value of the least significant bit of the float *x*:"
452
- msgstr ""
489
+ msgstr "浮動小数点数 *x* の最下位ビットの値を返します: "
453
490
454
491
#: ../../library/math.rst:311
455
492
msgid "If *x* is a NaN (not a number), return *x*."
456
- msgstr ""
493
+ msgstr "*x* が NaN (非数) なら、*x* を返します。 "
457
494
458
495
#: ../../library/math.rst:312
459
496
msgid "If *x* is negative, return ``ulp(-x)``."
460
- msgstr ""
497
+ msgstr "*x* が負なら、``ulp(-x)`` を返します。 "
461
498
462
499
#: ../../library/math.rst:313
463
500
msgid "If *x* is a positive infinity, return *x*."
464
- msgstr ""
501
+ msgstr "*x* が正の無限大なら、*x* を返します。 "
465
502
466
503
#: ../../library/math.rst:314
467
504
msgid ""
468
505
"If *x* is equal to zero, return the smallest positive *denormalized* "
469
506
"representable float (smaller than the minimum positive *normalized* float, :"
470
507
"data:`sys.float_info.min <sys.float_info>`)."
471
508
msgstr ""
509
+ "*x* が 0 に等しければ、(最小の正の *正規化* 浮動小数点数 :data:`sys."
510
+ "float_info.min <sys.float_info>` よりも小さい) 最小の正の表現可能な *非正規化"
511
+ "* 浮動小数点数を返します。 "
472
512
473
513
#: ../../library/math.rst:317
474
514
msgid ""