1 /* Boost test/integer.cpp 2 * test int extension 3 * 4 * Copyright 2003 Guillaume Melquiond 5 * 6 * Distributed under the Boost Software License, Version 1.0. 7 * (See accompanying file LICENSE_1_0.txt or 8 * copy at http://www.boost.org/LICENSE_1_0.txt) 9 */ 10 11 #include <boost/numeric/interval.hpp> 12 #include <boost/numeric/interval/ext/integer.hpp> 13 #include "bugs.hpp" 14 15 typedef boost::numeric::interval<float> I; 16 main()17int main() { 18 I x, y; 19 x = 4 - (2 * y + 1) / 3; 20 # ifdef BOOST_BORLANDC 21 ::detail::ignore_warnings(); 22 # endif 23 return 0; 24 } 25