So I found this using 2 to the power of >= 31
Carlos
checoimg at gmail.com
Wed Jun 12 18:46:59 PDT 2013
import std.stdio;
import std.math : pow;
void main()
{
cast(ulong)count;
foreach (count; 1 .. 33){
write((2)^^(count), " : ", count, "\n");
}
}
same output.
More information about the Digitalmars-d-learn
mailing list