double.init is nan ..?

Etienne etcimon at gmail.com
Fri Mar 14 09:04:24 PDT 2014


I'm trying to compare two doubles as part of a cache framework. To put 
it simply, double.init == double.init ... is false?

I don't understand. Maybe this belongs is D.learn, but I have no idea 
why or how this could possibly be normal behavior.

Does anyone have a clue? Thanks!


More information about the Digitalmars-d mailing list