<!--
{
  "documentType" : "article",
  "framework" : "Swift",
  "identifier" : "/documentation/Swift/Double/Strideable-Implementations",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Strideable Implementations"
}
-->

# Strideable Implementations

## Topics

### Instance Methods

[`func advanced(by: Double) -> Double`](/documentation/Swift/Double/advanced(by:))

Returns a value that is offset the specified distance from this value.

[`func distance(to: Double) -> Double`](/documentation/Swift/Double/distance(to:))

Returns the distance from this value to the given value, expressed as a
stride.

### Type Aliases

[`typealias Stride`](/documentation/Swift/Double/Stride)

A type that represents the distance between two values.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)