# std.simd: change T to u16 · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/924679abc46deeaae9284ab6ce928aaddb0fae95)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 924679abc46deeaae9284ab6ce928aaddb0fae95

Requested commit: 924679abc46deeaae9284ab6ce928aaddb0fae95

Commit: 924679abc46deeaae9284ab6ce928aaddb0fae95

Tree: c0f9bbc4cde23db511d95df915e6acab89e6de3b

Author: Dan Ellis Echavarria

Committer: GitHub

## Message

```
std.simd: change T to u16

The `element_bit_size` would break if `T` was signed due to `ceilPowerOfTwo` only working on unsigned numbers.
```

## Parents

- [e02b9f458dd7e48bef5b436242ba0ab3550224da](https://git.cafe/gitcafe/zig/commit/e02b9f458dd7e48bef5b436242ba0ab3550224da?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/924679abc46deeaae9284ab6ce928aaddb0fae95?format=markdown)
