cuda.bindings.cufile.Opcode#
- class cuda.bindings.cufile.Opcode(value: int)#
See CUfileOpcode_t.
- __init__()#
Methods
__init__()as_integer_ratio()Return a pair of integers, whose ratio is equal to the original int.
bit_count()Number of ones in the binary representation of the absolute value of self.
bit_length()Number of bits necessary to represent self in binary.
conjugateReturns self, the complex conjugate of any int.
from_bytes([byteorder, signed])Return the integer represented by the given array of bytes.
is_integer()Returns True.
to_bytes([length, byteorder, signed])Return an array of bytes representing an integer.
Attributes
READWRITEdenominatorthe denominator of a rational number in lowest terms
imagthe imaginary part of a complex number
namenumeratorthe numerator of a rational number in lowest terms
realthe real part of a complex number
value