I need a bignum library to represent large integers. What options do I have with the D programming language? Are there, for example, GMP bindings?
Update:
I am trying to use the built-in BigInt as described below, but it seems like it is not available in GDC.
import std.bigint; import std.stdio; void main() { BigInt n = "123"; writefln(n); }
When I try to compile this code with gdc main.d
, they tell me that it cannot find bigint.d. Gdc only implements part of the library or am I doing something wrong?
source share