---
title: "step(_:edge:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/step(_:edge:)-7md5f"
---

# step(_:edge:)

Returns zero for each element in a vector less than a specified edge; one otherwise.

## Declaration

```swift
func step(_ x: Float, edge: Float) -> Float
```

## See Also

### Common Functions

- [simd_step(_:_:)](simd/simd_step(_:_:)-7127e.md)
- [simd_clamp(_:_:_:)](simd/simd_clamp(_:_:_:)-8f4ck.md)
- [simd_fract(_:)](simd/simd_fract(_:)-1ws2w.md)
- [sign(_:)](simd/sign(_:)-iw0p.md)
- [simd_sign(_:)](simd/simd_sign(_:)-9380i.md)
