CTFE Status 2
Stefan Koch via Digitalmars-d
digitalmars-d at puremagic.com
Sun Jun 25 17:21:27 PDT 2017
On Thursday, 16 February 2017 at 21:05:51 UTC, Stefan Koch wrote:
> [ ... ]
I finally came around and implemented 64bit as a hacky extension
to the interpreter.
ulong[5] testArrayAssignL()
{
typeof(return) arr = 12;
arr[3] = 4;
arr[0] = 1;
return arr;
}
static immutable arrL = testArrayAssignL();
pragma(msg, arrL); // outputs: [1LU, 12LU, 12LU, 4LU, 12LU]
This should naturally extend to arrays of floats or doubles as
well.
More information about the Digitalmars-d
mailing list