bool_ int_ intc intp int8 int16 int32 int64 uint8 uint16 uint32 uint64 float_ float16 float32 float64 complex_ complex64 complex128 |
Boolean (True or False) stored as a byte Default integer type (same as C long; normally either int64 or int32) Identical to C int (normally int32 or int64) Integer used for indexing (same as C ssize_t; normally either int32 or int64) Byte (-128 to 127) Integer (-32768 to 32767) Integer (-2147483648 to 2147483647) Integer (-9223372036854775808 to 9223372036854775807) Unsigned integer (0 to 255) Unsigned integer (0 to 65535) Unsigned integer (0 to 4294967295) Unsigned integer (0 to 18446744073709551615) Shorthand for float64. Half precision float: sign bit, 5 bits exponent, 10 bits mantissa Single precision float: sign bit, 8 bits exponent, 23 bits mantissa Double precision float: sign bit, 11 bits exponent, 52 bits mantissa Shorthand for complex128. Complex number, represented by two 32-bit floats Complex number, represented by two 64-bit floats |