Created
April 4, 2017 13:30
-
-
Save BeauNouvelle/7c72309d7ac52129e771e45d5a7fc97f to your computer and use it in GitHub Desktop.
Results of a multiplication with big int
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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