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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 70 by dashley, Mon Oct 17 00:04:56 2016 UTC revision 71 by dashley, Sat Nov 5 11:07:06 2016 UTC
# Line 1  Line 1 
1  // $Header$  // $Header$
2  //-------------------------------------------------------------------------------------------------  //-------------------------------------------------------------------------------------------------
3  //This file is part of "cfbrapab", a program for determining the best rational approximation to a  //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  //real number, subject to constraints on the numerator and denominator, using continued fraction
5  //algorithms.  //algorithms.
6  //-------------------------------------------------------------------------------------------------  //-------------------------------------------------------------------------------------------------
7  //This source code and any program in which it is compiled/used is provided under the MIT License,  //This source code and any program in which it is compiled/used is provided under the MIT License,
8  //reproduced below.  //reproduced below.
9  //-------------------------------------------------------------------------------------------------  //-------------------------------------------------------------------------------------------------
10  //Permission is hereby granted, free of charge, to any person obtaining a copy of  //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  //this software and associated documentation files(the "Software"), to deal in the
12  //Software without restriction, including without limitation the rights to use,  //Software without restriction, including without limitation the rights to use,
13  //copy, modify, merge, publish, distribute, sublicense, and / or sell copies of the  //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,  //Software, and to permit persons to whom the Software is furnished to do so,
15  //subject to the following conditions :  //subject to the following conditions :
16  //  //
17  //The above copyright notice and this permission notice shall be included in all  //The above copyright notice and this permission notice shall be included in all
18  //copies or substantial portions of the Software.  //copies or substantial portions of the Software.
19  //  //
20  //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR  //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21  //IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,  //IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22  //FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE  //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  //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,  //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  //OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26  //SOFTWARE.  //SOFTWARE.
27  //-------------------------------------------------------------------------------------------------  //-------------------------------------------------------------------------------------------------
28  extern "C" int c_main(int argc, char * argv[]);  extern "C" int c_main(int argc, char * argv[]);
29    
30  int main(int argc, char* argv[])  int main(int argc, char* argv[])
31     {     {
32     int rv;     int rv;
33    
34     rv = c_main(argc, argv);     rv = c_main(argc, argv);
35    
36          return(rv);          return(rv);
37     }     }
38    
39  // End of cfbrapab.cpp.  // End of cfbrapab.cpp.

Legend:
Removed from v.70  
changed lines
  Added in v.71

dashley@gmail.com
ViewVC Help
Powered by ViewVC 1.1.25