floating-WTF

sclytrack sclytrack at fake.com
Tue Jan 24 07:41:06 PST 2012


On 01/24/2012 01:51 PM, Dejan Lekic wrote:
> No, it is not a bug.
>
> Here is a hint:
>
> import std.stdio;
>
> int main() {
> float f;
> writeln(f);
> return 0;
> }
>
> /+--- output ----------+
> nan
> +--- end of output ---+/
>

I don't understand.


More information about the Digitalmars-d-learn mailing list