Fix floating point comparison stuff (long double -> double).