{"id":20918037,"url":"https://github.com/nuclearace/swiftbiginteger","last_synced_at":"2025-12-24T20:52:14.988Z","repository":{"id":34444874,"uuid":"38379308","full_name":"nuclearace/SwiftBigInteger","owner":"nuclearace","description":"Swift Wrapper for LibTomMath","archived":false,"fork":false,"pushed_at":"2017-05-29T16:45:57.000Z","size":132,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T16:49:00.937Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nuclearace.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-01T15:35:55.000Z","updated_at":"2017-05-29T13:07:40.000Z","dependencies_parsed_at":"2022-11-29T13:19:51.416Z","dependency_job_id":null,"html_url":"https://github.com/nuclearace/SwiftBigInteger","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuclearace%2FSwiftBigInteger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuclearace%2FSwiftBigInteger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuclearace%2FSwiftBigInteger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuclearace%2FSwiftBigInteger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nuclearace","download_url":"https://codeload.github.com/nuclearace/SwiftBigInteger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243312918,"owners_count":20271160,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T16:37:00.455Z","updated_at":"2025-12-24T20:52:14.957Z","avatar_url":"https://github.com/nuclearace.png","language":"Swift","readme":"```swift\nimport SwiftBigInt\n\nfunc fib(n: BigInteger) -\u003e BigInteger {\n    if n \u003c 2 {\n        return n\n    }\n\n    var fibPrev = BigInteger(int: 1)\n    var fib = BigInteger(int: 1)\n    var num = BigInteger(int: 2)\n\n    repeat {\n        (fibPrev, fib) = (fib, fib + fibPrev)\n        num += 1\n    } while num \u003c n\n\n    return fib\n}\n\nprint(fib(BigInteger(int: 100000)))\n```\nInstall:\n\n- Install libtommath to /usr/local/\n- Add `.Package(\"https://github.com/nuclearace/SwiftBigInteger\", majorVersion: 1)` as a dependency.\n- Add `-Xlinker -L/usr/local/lib -Xcc -I/usr/local/include` to your build command.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuclearace%2Fswiftbiginteger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuclearace%2Fswiftbiginteger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuclearace%2Fswiftbiginteger/lists"}