Skip to content

Commit d166ca9

Browse files
author
Willow Ahrens
committed
quick formatting fix for complex description
1 parent 2b4f543 commit d166ca9

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

spec/latest/index.bs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -268,13 +268,12 @@ provided to indicate modifications to the underlying value array.
268268

269269
### Sparse Array with Complex Values ### {#complex_arrays}
270270

271-
To indicate that a value array is composed of alternating real and imaginary
272-
components of complex numbers, we wrap the type in the `complex[]` modifier. For
273-
example, a value array containing complex float64 would have a datatype of
274-
`complex[float64]` The real component of the `i`th element in the modified array
275-
shall be stored at position `2i` in the original array, and the imaginary
276-
component of the `i`th element in the modified array shall be at position `2i +
277-
1` in the underlying array.
271+
When a value array is composed of alternating real and imaginary components of
272+
complex numbers, the type is written as `complex[<type>]`. For example, a value
273+
array of complex `float64` would have a datatype of `complex[float64]` The real
274+
component of the `i`th element in the modified array shall be stored at position
275+
`2i` in the original array, and the imaginary component of the `i`th element in
276+
the modified array shall be at position `2i + 1` in the underlying array.
278277

279278
### Sparse Array with All Values the Same ### {#iso_arrays}
280279

0 commit comments

Comments
 (0)