problem with isnan
Edwin van Leeuwen via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Nov 11 01:13:34 PST 2016
On Thursday, 10 November 2016 at 23:45:01 UTC, Charles Hixson
wrote:
>> you might try using std.math.isNaN instead and see what it
>> does.
>>
> It was default initialized by the class instance:
>
> class Cell
> ...
> float curActivation;
> ...
>
> The this method doesn't have any mention of a few variables
> that are supposed to be default initialized, or which
> curActivation is one.
std.math.isNaN should work for the default initialization (at
least it does for doubles)
More information about the Digitalmars-d-learn
mailing list