I seem to be having some difficulty with the nan and init properties of floating point types. Can anyone explain why the following assertions all fail:

assert(float.init == float.nan);
assert(float.nan == float.nan);
assert(float.init == float.init);

Thanks.

Reply via email to