NumericAnnex Reference (100% documented)

View on GitHub

Install in Dash

Int

struct Int : FixedWidthInteger, SignedInteger
Topics
  • **(_:_:)

    Returns the result of raising lhs to the power of rhs, rounded to a representable value.

    Declaration

    Swift

    public static func ** (lhs: Int, rhs: Int) -> Int
  • **=(_:_:)

    Raises lhs to the power of rhs and stores the result in lhs, rounded to a representable value.

    Declaration

    Swift

    public static func **= (lhs: inout Int, rhs: Int)