Skip to content

Instantly share code, notes, and snippets.

@BeauNouvelle
Created April 4, 2017 13:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BeauNouvelle/7c72309d7ac52129e771e45d5a7fc97f to your computer and use it in GitHub Desktop.
Save BeauNouvelle/7c72309d7ac52129e771e45d5a7fc97f to your computer and use it in GitHub Desktop.
Results of a multiplication with big int
let int1 = BigInt(value: "34757377374573285823949593499549646311234")
let int2 = BigInt(value: "45123498348958923845838948528381283721377123454345")
let product = int1 * int2
// result: 1568374460575699918065222772187576926314538959488859994856690985365041943440429553059611730
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment