is_maximum_number.hpp 1.1 KB

12345678910111213141516171819202122
  1. # /* **************************************************************************
  2. # * *
  3. # * (C) Copyright Edward Diener 2020. *
  4. # * Distributed under the Boost Software License, Version 1.0. (See *
  5. # * accompanying file LICENSE_1_0.txt or copy at *
  6. # * http://www.boost.org/LICENSE_1_0.txt) *
  7. # * *
  8. # ************************************************************************** */
  9. #
  10. # /* See http://www.boost.org for most recent version. */
  11. #
  12. # ifndef BOOST_PREPROCESSOR_ARITHMETIC_DETAIL_IS_MAXIMUM_NUMBER_HPP
  13. # define BOOST_PREPROCESSOR_ARITHMETIC_DETAIL_IS_MAXIMUM_NUMBER_HPP
  14. #
  15. # /* BOOST_PP_DETAIL_IS_MAXIMUM_NUMBER */
  16. #
  17. # include <boost/preprocessor/comparison/equal.hpp>
  18. # include <boost/preprocessor/arithmetic/detail/maximum_number.hpp>
  19. #
  20. # define BOOST_PP_DETAIL_IS_MAXIMUM_NUMBER(x) BOOST_PP_EQUAL(x,BOOST_PP_DETAIL_MAXIMUM_NUMBER)
  21. #
  22. # endif