Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/libs/numeric/interval/test/integer.cpp @ 29

Last change on this file since 29 was 29, checked in by landauf, 17 years ago

updated boost from 1_33_1 to 1_34_1

File size: 530 bytes
Line 
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
15typedef boost::numeric::interval<float> I;
16
17int main() {
18  I x, y;
19  x = 4 - (2 * y + 1) / 3;
20# ifdef __BORLANDC__
21  ::detail::ignore_warnings();
22# endif
23  return 0;
24}
Note: See TracBrowser for help on using the repository browser.