This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* \file is_almost_equal_ulps.hpp | |
* \brief Constexpr implementation of a floating number point comparison based on units in last place (ULPs) | |
* \mainpage Contains traits and a constexpr function for comparing two floating point numbers based on units | |
* in the last place (ULP) similar to the implementation in GoogleTest but more modular and constexpr: | |
* https://github.com/google/googletest/blob/main/googletest/include/gtest/internal/gtest-internal.h | |
*/ | |
#ifndef IS_ALMOST_EQUAL_ULPS_HPP | |
#define IS_ALMOST_EQUAL_ULPS_HPP |