/[dtapublic]/projs/dtats/trunk/projs/20161014_cfbrapab/cfbrapab.cpp
ViewVC logotype

Contents of /projs/dtats/trunk/projs/20161014_cfbrapab/cfbrapab.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 47 - (show annotations) (download)
Mon Oct 17 00:04:56 2016 UTC (7 years, 4 months ago) by dashley
Original Path: projs/trunk/projs/20161014_cfbrapab/cfbrapab.cpp
File size: 2006 byte(s)
Change license.
Enable keyword expansion.
1 // $Header$
2 //-------------------------------------------------------------------------------------------------
3 //This file is part of "cfbrapab", a program for determining the best rational approximation to a
4 //real number, subject to constraints on the numerator and denominator, using continued fraction
5 //algorithms.
6 //-------------------------------------------------------------------------------------------------
7 //This source code and any program in which it is compiled/used is provided under the MIT License,
8 //reproduced below.
9 //-------------------------------------------------------------------------------------------------
10 //Permission is hereby granted, free of charge, to any person obtaining a copy of
11 //this software and associated documentation files(the "Software"), to deal in the
12 //Software without restriction, including without limitation the rights to use,
13 //copy, modify, merge, publish, distribute, sublicense, and / or sell copies of the
14 //Software, and to permit persons to whom the Software is furnished to do so,
15 //subject to the following conditions :
16 //
17 //The above copyright notice and this permission notice shall be included in all
18 //copies or substantial portions of the Software.
19 //
20 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21 //IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22 //FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
23 //AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24 //LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25 //OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26 //SOFTWARE.
27 //-------------------------------------------------------------------------------------------------
28 extern "C" int c_main(int argc, char * argv[]);
29
30 int main(int argc, char* argv[])
31 {
32 int rv;
33
34 rv = c_main(argc, argv);
35
36 return(rv);
37 }
38
39 // End of cfbrapab.cpp.

Properties

Name Value
svn:keywords Id Header

dashley@gmail.com
ViewVC Help
Powered by ViewVC 1.1.25