Skip to content

Commit 71dcfb9

Browse files
committed
complex modifier may only be used with floating point numbers
1 parent 122e1e9 commit 71dcfb9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

spec/latest/index.bs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,8 @@ array of complex `float64` would have a datatype of `complex[float64]` The real
280280
component of the `i`th element in the modified array shall be stored at position
281281
`2i` in the original array, and the imaginary component of the `i`th element in
282282
the modified array shall be at position `2i + 1` in the underlying array.
283+
The `complex` value modifier may only be used with the types `float32` and
284+
`float64`.
283285

284286
### Sparse Array with All Values the Same ### {#iso_arrays}
285287

0 commit comments

Comments
 (0)