BigUInt

extension BigUInt
  • Creates an instance from a Hylo integer literal s with given bitWidth, applying two’s complement to represent negative numbers; fails if the representation of s requires more too many bits or if s is negative and signed is false.

    Requires

    s must be a valid Hylo integer literal.

    Declaration

    Swift

    fileprivate static func parse<S: StringProtocol>(
      hyloLiteral s: S, signed: Bool, bitWidth: Int
    ) -> Self?