diff --git a/spec/API_specification/type_promotion.rst b/spec/API_specification/type_promotion.rst index d30f6517c..b742ee422 100644 --- a/spec/API_specification/type_promotion.rst +++ b/spec/API_specification/type_promotion.rst @@ -89,18 +89,27 @@ Mixed unsigned and signed integer type promotion table Floating-point type promotion table ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -+--------+----+----+ -| | f4 | f8 | -+========+====+====+ -| **f4** | f4 | f8 | -+--------+----+----+ -| **f8** | f8 | f8 | -+--------+----+----+ ++---------+-----+-----+-----+-----+ +| | f4 | f8 | c8 | c16 | ++=========+=====+=====+=====+=====+ +| **f4** | f4 | f8 | c8 | c16 | ++---------+-----+-----+-----+-----+ +| **f8** | f8 | f8 | c16 | c16 | ++---------+-----+-----+-----+-----+ +| **c8** | c8 | c16 | c8 | c16 | ++---------+-----+-----+-----+-----+ +| **c16** | c16 | c16 | c16 | c16 | ++---------+-----+-----+-----+-----+ where - **f4**: single-precision (32-bit) floating-point number (i.e., ``float32``) - **f8**: double-precision (64-bit) floating-point number (i.e., ``float64``) +- **c8**: single-precision complex floating-point number (i.e., ``complex64``) + composed of two single-precision (32-bit) floating-point numbers +- **c16**: double-precision complex floating-point number (i.e., ``complex128``) + composed of two double-precision (64-bit) floating-point numbers + Notes ~~~~~ diff --git a/spec/_static/images/dtype_promotion_complex.png b/spec/_static/images/dtype_promotion_complex.png deleted file mode 100644 index 3503b07f5..000000000 Binary files a/spec/_static/images/dtype_promotion_complex.png and /dev/null differ diff --git a/spec/_static/images/dtype_promotion_lattice.png b/spec/_static/images/dtype_promotion_lattice.png index 669d30476..4d384ac15 100644 Binary files a/spec/_static/images/dtype_promotion_lattice.png and b/spec/_static/images/dtype_promotion_lattice.png differ