Is binary equality comparison of floats correct? Languages

Is binary equality comparison of floats correct?

I'm working on different memory block manipulation functions and during benchmarks I noticed, that my implementation of the IsEqualRange(double* begin1, double* end1, double* begin2, double* end2) is much faster then the std::equals(...) on MSVC and GCC as well. Further investigation showed, that doubles and floats are not block compared by...
Read More
Will specialization of function templates in std for program-defined types no longer be allowed in C++20? Languages

Will specialization of function templates in std for program-defined types no longer be allowed in C++20?

Quote from cppreference.com:Adding template specializationsIt is allowed to add template specializations for any standard library |class (since C++20)| template to the namespace std only if the declaration depends on at least one program-defined type and the specialization satisfies all requirements for the original template, except where such specializations are prohibited.
Read More