Skip to content

Commit 93bf898

Browse files
committed
repair the table
1 parent fcd0dba commit 93bf898

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

spec/draft/API_specification/data_types.rst

+27-27
Original file line numberDiff line numberDiff line change
@@ -9,35 +9,35 @@ A conforming implementation of the array API standard *must* provide and support
99
the following data types ("dtypes") in its array object, and as data type
1010
objects in its main namespace under the specified names:
1111

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+
+--------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
3737
| 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+
+--------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
3939
| 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+
+--------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
4141

4242
Data type objects *must* have the following methods (no attributes are required):
4343

0 commit comments

Comments
 (0)