---
title: simd_length
framework: simd
role: symbol
role_heading: Function
path: simd/simd_length-576ia
---

# simd_length

Returns the length of a vector.

## Declaration

```occ
static _Float16 simd_length(simd_half16 __x);
```

## See Also

### Length and distance functions

- [simd_fast_length](simd/simd_fast_length-3ecug.md)
- [simd_precise_length](simd/simd_precise_length-bxb3.md)
- [simd_length_squared](simd/simd_length_squared-7mlpe.md)
- [simd_distance](simd/simd_distance-2dror.md)
- [simd_fast_distance](simd/simd_fast_distance-1pqse.md)
- [simd_precise_distance](simd/simd_precise_distance-wp3e.md)
- [simd_distance_squared](simd/simd_distance_squared-m1wr.md)
