ff2530e119
# Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
12 lines
360 B
C++
12 lines
360 B
C++
///////////////////////////////////////////////////////////////////////////////
|
|
// Copyright 2015 John Maddock. 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)
|
|
|
|
#include <boost/rational.hpp>
|
|
|
|
int main()
|
|
{
|
|
boost::rational<int> rat(2);
|
|
rat = 0.5;
|
|
} |