Why 1f.iota(100f).array returns double[] not float[]?
drug via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Sep 8 00:00:16 PDT 2015
import std.array : array;
import std.range : iota;
pragma(msg, typeof(iota(1f, 100f).array)); // why double[] not float[]?
void main()
{
}
More information about the Digitalmars-d-learn
mailing list