@@ -9,35 +9,35 @@ A conforming implementation of the array API standard *must* provide and support
9
9
the following data types ("dtypes") in its array object, and as data type
10
10
objects in its main namespace under the specified names:
11
11
12
- +--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
13
- | dtype object | description |
14
- +==============+============================================================================================================================================================================================+
15
- | bool | Boolean (``True `` or ``False ``). |
16
- +--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
17
- | int8 | An 8-bit signed integer whose values exist on the interval ``[-128, +127] ``. |
18
- +--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
19
- | int16 | A 16-bit signed integer whose values exist on the interval ``[−32,767, +32,767] ``. |
20
- +--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
21
- | int32 | A 32-bit signed integer whose values exist on the interval ``[−2,147,483,647, +2,147,483,647] ``. |
22
- +--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
23
- | int64 | A 64-bit signed integer whose values exist on the interval ``[−9,223,372,036,854,775,807, +9,223,372,036,854,775,807] ``. |
24
- +--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
25
- | uint8 | An 8-bit unsigned integer whose values exist on the interval ``[0, +255] ``. |
26
- +--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
27
- | uint16 | A 16-bit unsigned integer whose values exist on the interval ``[0, +65,535] ``. |
28
- +--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
29
- | uint32 | A 32-bit unsigned integer whose values exist on the interval ``[0, +4,294,967,295] ``. |
30
- +--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
31
- | uint64 | A 64-bit unsigned integer whose values exist on the interval ``[0, +18,446,744,073,709,551,615] ``. |
32
- +--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
33
- | float32 | IEEE 754 single-precision (32-bit) binary floating-point number (see IEEE 754-2019). |
34
- +--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
35
- | float64 | IEEE 754 double-precision (64-bit) binary floating-point number (see IEEE 754-2019). |
36
- +--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
12
+ +--------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +
13
+ | dtype object | description |
14
+ +==============+============================================================================================================================================================================================== +
15
+ | bool | Boolean (``True `` or ``False ``). |
16
+ +--------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +
17
+ | int8 | An 8-bit signed integer whose values exist on the interval ``[-128, +127] ``. |
18
+ +--------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +
19
+ | int16 | A 16-bit signed integer whose values exist on the interval ``[−32,767, +32,767] ``. |
20
+ +--------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +
21
+ | int32 | A 32-bit signed integer whose values exist on the interval ``[−2,147,483,647, +2,147,483,647] ``. |
22
+ +--------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +
23
+ | int64 | A 64-bit signed integer whose values exist on the interval ``[−9,223,372,036,854,775,807, +9,223,372,036,854,775,807] ``. |
24
+ +--------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +
25
+ | uint8 | An 8-bit unsigned integer whose values exist on the interval ``[0, +255] ``. |
26
+ +--------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +
27
+ | uint16 | A 16-bit unsigned integer whose values exist on the interval ``[0, +65,535] ``. |
28
+ +--------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +
29
+ | uint32 | A 32-bit unsigned integer whose values exist on the interval ``[0, +4,294,967,295] ``. |
30
+ +--------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +
31
+ | uint64 | A 64-bit unsigned integer whose values exist on the interval ``[0, +18,446,744,073,709,551,615] ``. |
32
+ +--------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +
33
+ | float32 | IEEE 754 single-precision (32-bit) binary floating-point number (see IEEE 754-2019). |
34
+ +--------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +
35
+ | float64 | IEEE 754 double-precision (64-bit) binary floating-point number (see IEEE 754-2019). |
36
+ +--------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +
37
37
| complex64 | Single-precision (64-bit) complex floating-point number whose real and imaginary components *must * be IEEE 754 single-precision (32-bit) binary floating-point numbers (see IEEE 754-2019). |
38
- +--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
38
+ +--------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +
39
39
| complex128 | Double-precision (128-bit) complex floating-point number whose real and imaginary components *must * be IEEE 754 double-precision (64-bit) binary floating-point numbers (see IEEE 754-2019). |
40
- +--------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
40
+ +--------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +
41
41
42
42
Data type objects *must * have the following methods (no attributes are required):
43
43
0 commit comments