| 例文 |
plain integerの部分一致の例文一覧と使い方
該当件数 : 28件
Convert a plain C int to a Python integer object. 例文帳に追加
通常の C の int を Python の整数オブジェクトに変換します。 - Python
There is no limit for long integer literals apart from what can be stored in available memory.Some examples of plain integer literals (first row) and long integer literals (second and third rows):例文帳に追加
整数リテラル (最初の行) と長整数リテラル (二行目および三行目) の例を以下に示します: - Python
There are four types of numeric literals: plain integers, long integers, floating point numbers, and imaginary numbers.例文帳に追加
数値リテラルは 4 種類あります: 整数 (plain integer)、長整数 (longinteger)、浮動小数点数 (floating point number)、そして虚数 (imaginarynumber) です。 - Python
This instance of PyTypeObject represents the Python plain integer type.例文帳に追加
この PyTypeObject のインスタンスは Python の (長整数でない) 整数型を表現します。 - Python
The argument may be a plain or long integer or a floating point number.例文帳に追加
引数として通常の整数、長整数、浮動小数点数をとることができます。 - Python
The unary ~ (invert) operator yields the bit-wise inversion of its plain or long integer argument.例文帳に追加
単項演算子 ~ (逆転) は、整数または長整数の引数をビット単位反転 (bit-wise invert) します。 - Python
If the primary is a mutable sequence object (e.g., a list), the subscriptmust yield a plain integer. 例文帳に追加
一次語が変更可能なシーケンスオブジェクト (例えばリスト) の場合、まず添字は整数でなければなりません。 - Python
Plain and long integer types support additional operations that make sense only for bit-strings.例文帳に追加
通常および長整数型ではさらに、ビット文字列に対してのみ意味のある演算をサポートしています。 - Python
Plain or long integer division yields an integer of the same type; the result is that of mathematical division with the `floor' function applied to the result.例文帳に追加
整数または長整数の除算結果は、同じ型の整数になります; この場合、結果は数学的な除算に関数 `floor' を適用したものになります。 - Python
Slice indices are silently truncated to fall in the allowed range; if an index is not a plain integer, TypeError is raised.例文帳に追加
スライスのインデクスはシーケンスの範囲に収まるように暗黙のうちに調整されます; インデクスが通常の整数でない場合、TypeErrorが送出されます。 - Python
Any operation except left shift,if it yields a result in the plain integer domain without causingoverflow, will yield the same result in the long integer domain or when using mixed operands.例文帳に追加
左シフト以外の演算では、演算結果がオーバフローを起こさずに整数の定義域の値になる場合は、長整数を使った場合でも、被演算子に整数と長整数を混合した場合でも同じ結果になります。 - Python
Python fully supports mixed arithmetic: when a binary arithmetic operator has operands of different numeric types, the operand with the``narrower'' type is widened to that of the other, where plain integer is narrower than long integer is narrower than floating point is narrower than complex.Comparisons between numbers of mixed type use the same rule.例文帳に追加
Python は型混合の演算を完全にサポートします: ある 2 項演算子が互いに異なる数値型の被演算子を持つ場合、より ``制限された'' 型の被演算子は他方の型に合わせて広げられます。 - Python
Although both lower case "l" and upper case "L" are allowed as suffix for long integers, it is strongly recommended to always use "L", since the letter "l" looks too much like the digit "1".Plain integer literals that are above the largest representable plain integer (e.g., 2147483647 when using 32-bit arithmetic) are accepted as if they were long integers instead.例文帳に追加
長整数を表す末尾の文字は小文字の "l" でも大文字の "L" でもかまいませんが、"l" は "1" に良く似ているので、常に "L" を使うよう強く勧めます。 整数で表現できる最大の値よりも大きい整数のリテラル (例えば 32-bit 整数を使っている場合には 2147483647) は、長整数として表現できる値であれば受理されます。 - Python
Otherwise, the argument may be a plain or long integer or a floating point number, and a floating point number with the same value (within Python's floating point precision) is returned.例文帳に追加
それ以外の場合、引数は通常整数、長整数、または浮動小数点数をとることができ、同じ値の浮動小数点数が (Python の浮動小数点精度で) 返されます。 - Python
If radix is specified and x is not a string,TypeError is raised.Otherwise, the argument may be a plain or long integer or a floating point number.例文帳に追加
radix が指定されており、x が文字列でない場合、TypeError が送出されます。 それ以外の場合、引数は通常整数、長整数、または浮動小数点数をとることができます。 - Python
(The expression list is a tuple except if it has exactly oneitem.)If the primary is a sequence, the expression (list) must evaluate to a plain integer.例文帳に追加
(式リストの要素が単独である場合を除き、式リストはタプルでなければなりません。 )一次語がシーケンスの場合、式 (リスト) の値評価結果は (通常の) 整数でなければなりません。 - Python
The rules for integer representation are intended to give the most meaningful interpretation of shift and mask operations involvingnegative integers and the least surprises when switching between the plain and long integer domains.例文帳に追加
整数表現に関する規則は、シフト演算やマスク演算において、負の整数も含めて最も有意義な解釈ができるように、かつ通常の整数と長整数との間で定義域を切り替える際にできるだけ混乱しないように決められています。 - Python
In versions of Python prior to 2.4, octal and hexadecimal literals in the range just above the largest representable plain integer but below the largest unsigned32-bit number (on a machine using 32-bit arithmetic), 4294967296, were taken as the negative plain integer obtained by subtracting 4294967296from their unsigned value.例文帳に追加
バージョン 2.4 以前の Python では, 8 進および 16 進のリテラルのうち,通常の整数型として表現可能な値より大きく,かつ符号無しの 32-bit(32-bit 演算を使う計算機の場合) 整数で表現できる最大値,すなわち 4294967296 よりも小さな数は,リテラルを符号無し整数として表現した値から4294967296 を引いて得られる負の整数として扱っていました. - Python
For (plain or long) integer division, the result is an integer.The result is always rounded towards minus infinity: 1/2 is 0,(-1)/2 is -1, 1/(-2) is -1, and (-1)/(-2) is 0. 例文帳に追加
(通常および長) 整数の割り算では、結果は整数になります。 この場合値は常にマイナス無限大の方向に丸められます: つまり、1/2 は 0、(-1)/2 は -1、1/(-1) は -1、そして (-1)/(-2) は 0 になります。 - Python
The values stored for 'L' and 'I' items will be represented as Python long integers when retrieved, because Python's plain integer type cannot represent the full range of C's unsigned (long) integers.The module defines the following type:例文帳に追加
Python の通常の整数型では C の unsigned (long) 整数の最大範囲を表せないため、'L'と'I' で表現されている要素に入る値は Pythonでは長整数として表されます。 このモジュールでは次の型を定義しています: - Python
Caveat: On machines where C's long int type has more than32 bits (such as the DEC Alpha), it is possible to create plain Python integers that are longer than 32 bits.If such an integer is marshaled and read back in on a machine whereC's long int type has only 32 bits, a Python long integer object is returned instead.例文帳に追加
補足説明: C 言語の long int が (DEC Alpha のように) 32 ビットよりも長いビット長を持つ場合、32 ビットよりも長い Python 整数を作成することが可能です。 そのような整数が整列化された後、C 言語の long int のビット長が 32 ビットしかないマシン上で読み戻された場合、通常整数の代わりにPython 長整数が返されます。 - Python
The arguments must either both be numbers, or one argument must be an integer (plain or long) and the other must be a sequence.In the former case, the numbers are converted to a common type and then multiplied together.例文帳に追加
引数の組は、双方ともに数値型であるか、片方が整数 (通常の整数または長整数) 型で他方がシーケンス型かのどちらかでなければなりません。 前者の場合、数値は共通の型に変換された後乗算されます。 - Python
| 例文 |
| この対訳コーパスは独立行政法人情報通信研究機構の研究成果であり、Creative Commons Attribution-Share Alike 3.0 Unportedでライセンスされています。 |
| Copyright 2001-2004 Python Software Foundation.All rights reserved. Copyright 2000 BeOpen.com.All rights reserved. Copyright 1995-2000 Corporation for National Research Initiatives.All rights reserved. Copyright 1991-1995 Stichting Mathematisch Centrum.All rights reserved. |
|
ログイン |
Weblio会員(無料)になると
|
|
ログイン |
Weblio会員(無料)になると
|