/usr/include/boost/numeric/interval/detail
NameSizeModeActions
alpha_rounding_control.hpp36070644editdlrm
bcc_rounding_control.hpp16080644editdlrm
bugs.hpp15130644editdlrm
c99sub_rounding_control.hpp13680644editdlrm
c99_rounding_control.hpp12920644editdlrm
division.hpp74990644editdlrm
ia64_rounding_control.hpp21490644editdlrm
interval_prototype.hpp10350644editdlrm
msvc_rounding_control.hpp34150644editdlrm
ppc_rounding_control.hpp29550644editdlrm
sparc_rounding_control.hpp30620644editdlrm
test_input.hpp23260644editdlrm
x86gcc_rounding_control.hpp13480644editdlrm
x86_rounding_control.hpp31960644editdlrm
Edit: /usr/include/boost/numeric/interval/detail/test_input.hpp (2326B)
/* Boost interval/detail/test_input.hpp file * * Copyright 2002 Hervé Brönnimann, Guillaume Melquiond, Sylvain Pion * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or * copy at http://www.boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_NUMERIC_INTERVAL_DETAIL_TEST_INPUT_HPP #define BOOST_NUMERIC_INTERVAL_DETAIL_TEST_INPUT_HPP #include namespace boost { namespace numeric { namespace interval_lib { namespace user { template inline bool is_zero(T const &v) { return v == static_cast(0); } template inline bool is_neg (T const &v) { return v < static_cast(0); } template inline bool is_pos (T const &v) { return v > static_cast(0); } } // namespace user namespace detail { template inline bool test_input(const interval& x) { typedef typename Policies::checking checking; return checking::is_empty(x.lower(), x.upper()); } template inline bool test_input(const interval& x, const interval& y) { typedef typename Policies1::checking checking1; typedef typename Policies2::checking checking2; return checking1::is_empty(x.lower(), x.upper()) || checking2::is_empty(y.lower(), y.upper()); } template inline bool test_input(const T& x, const interval& y) { typedef typename Policies::checking checking; return checking::is_nan(x) || checking::is_empty(y.lower(), y.upper()); } template inline bool test_input(const interval& x, const T& y) { typedef typename Policies::checking checking; return checking::is_empty(x.lower(), x.upper()) || checking::is_nan(y); } template inline bool test_input(const T& x) { typedef typename Policies::checking checking; return checking::is_nan(x); } template inline bool test_input(const T& x, const T& y) { typedef typename Policies::checking checking; return checking::is_nan(x) || checking::is_nan(y); } } // namespace detail } // namespace interval_lib } // namespace numeric } // namespace boost #endif // BOOST_NUMERIC_INTERVAL_DETAIL_TEST_INPUT_HPP