Use approxEqual for doubles in some examples.

Replaced a few instances of doubles being compared with == in std.algorithm's examples.  They are now compared with approxEqual.  This should encourage better practices, since floating point numbers can experience rounding errors that would make direct equality checks fail in situations where they are expected to work.