Ticket #2473: bug_unsigned_boost.cc
File bug_unsigned_boost.cc, 317 bytes (added by , 14 years ago) |
---|
Line | |
---|---|
1 | #include <boost/numeric/interval.hpp> |
2 | #include <iostream> |
3 | |
4 | using namespace boost::numeric; |
5 | using namespace interval_lib; |
6 | |
7 | typedef interval<double> val; |
8 | |
9 | int main() { |
10 | val x(1U), y(1); |
11 | std::cout << x.lower() << " " << x.upper() << std::endl; |
12 | std::cout << y.lower() << " " << y.upper() << std::endl; |
13 | return 0; |
14 | } |