Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Int Casting-Initializers
extension Int {
/// Construct an instance that approximates `other`.
public init(_ other: Float)
/// Construct an instance that approximates `other`.
public init(_ other: Double)
/// Construct an instance that approximates `other`.
public init(_ other: Float80)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment