---
title: "exp2(_:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/exp2(_:)-26tvo"
---

# exp2(_:)

Returns 2 raised to the power of each element in a vector.

## Declaration

```swift
func exp2(_ x: simd_double3) -> simd_double3
```

## See Also

### Exponential and Logarithmic Functions

- [exp(_:)](simd/exp(_:)-zash.md)
- [exp10(_:)](simd/exp10(_:)-88dd5.md)
- [expm1(_:)](simd/expm1(_:)-2ag4r.md)
- [log(_:)](simd/log(_:)-70ujd.md)
- [log2(_:)](simd/log2(_:)-3p8ex.md)
- [log10(_:)](simd/log10(_:)-1eshe.md)
- [log1p(_:)](simd/log1p(_:)-50npd.md)
