BigInt not integral type?

Tyro[17] ridimz at yahoo.com
Sun Jun 16 02:14:07 PDT 2013


The following code:

void main()
{
	import std.bigint;
	BigInt x, m;
	BigInt l = x & m;
}

Result in:
andrew at ace:~$ dmd f
f.d(6): Error: 'x' is not of integral type, it is a BigInt
f.d(6): Error: 'm' is not of integral type, it is a BigInt

I'm sure there is plans to resolve this situation but is there a work 
around I can use in the meantime?

Thanks,
-- 

Andrew Edwards
--------------------
http://www.akeron.co
auto getAddress() {
     string location = "@", period = ".";
     return ("info" ~ location ~ "afidem" ~ period ~ "org");
}


More information about the Digitalmars-d-learn mailing list