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

# exp2(_:)

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

## Declaration

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

## See Also

### Exponential and Logarithmic Functions

- [exp(_:)](simd/exp(_:)-9nxip.md)
- [exp10(_:)](simd/exp10(_:)-4tdos.md)
- [expm1(_:)](simd/expm1(_:)-9aitr.md)
- [log(_:)](simd/log(_:)-2ieba.md)
- [log2(_:)](simd/log2(_:)-779eu.md)
- [log10(_:)](simd/log10(_:)-337zw.md)
- [log1p(_:)](simd/log1p(_:)-40mka.md)
