floats default to NaN... why?

F i L witte2008 at gmail.com
Sat Apr 14 10:56:46 PDT 2012


On Saturday, 14 April 2012 at 17:30:19 UTC, Andrej Mitrovic wrote:
> On 4/14/12, F i L <witte2008 at gmail.com> wrote:
>> a Hack though, since it doesn't work with 'auto'.
>
> What do you mean?

Only that:

     auto f = 1.0f; // is float not Float


More information about the Digitalmars-d-learn mailing list