From 71dcfb91a3014047798eaa94681960195bab3f5d Mon Sep 17 00:00:00 2001 From: Benjamin Brock Date: Mon, 21 Aug 2023 11:27:17 -0700 Subject: [PATCH] `complex` modifier may only be used with floating point numbers --- spec/latest/index.bs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/latest/index.bs b/spec/latest/index.bs index 8abf575..1c88abf 100644 --- a/spec/latest/index.bs +++ b/spec/latest/index.bs @@ -280,6 +280,8 @@ array of complex `float64` would have a datatype of `complex[float64]` The real component of the `i`th element in the modified array shall be stored at position `2i` in the original array, and the imaginary component of the `i`th element in the modified array shall be at position `2i + 1` in the underlying array. +The `complex` value modifier may only be used with the types `float32` and +`float64`. ### Sparse Array with All Values the Same ### {#iso_arrays}