/[dtapublic]/projs/dtats/trunk/projs/2018/20180707_cgi_web_tools_aux_exe/subfunc_gcd.c
ViewVC logotype

Diff of /projs/dtats/trunk/projs/2018/20180707_cgi_web_tools_aux_exe/subfunc_gcd.c

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

revision 174 by dashley, Sun Jul 8 21:17:26 2018 UTC revision 175 by dashley, Mon Jul 9 00:00:34 2018 UTC
# Line 1  Line 1 
1  //$Header$  //$Header$
 //  
2  //********************************************************************************  //********************************************************************************
3  //Copyright (C) 2003 David T. Ashley  //Copyright (c) 2003, 2018 David T. Ashley.
4    //********************************************************************************
5    //This file is part of "arith_large_cgi", a program that is designed to be
6    //invoked by a PHP script as part of serving a web page that performs
7    //calculations involving large integers.  (A secondary compiled program is
8    //used because a compiled program can perform certain  calculation-intensive
9    //tasks far more efficiently than a PHP script.)  This program is provided by
10    //David T. Ashley (dashley@gmail.com) under the MIT License (reproduced
11    //immediately below).
12    //********************************************************************************
13    //Permission is hereby granted, free of charge, to any person obtaining a copy
14    //of this software and associated documentation files (the "Software"), to deal
15    //in the Software without restriction, including without limitation the rights
16    //to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
17    //copies of the Software, and to permit persons to whom the Software is
18    //furnished to do so, subject to the following conditions:
19    //
20    //The above copyright notice and this permission notice shall be included in all
21    //copies or substantial portions of the Software.
22    //
23    //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24    //IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25    //FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
26    //AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27    //LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
28    //OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
29    //SOFTWARE.
30  //********************************************************************************  //********************************************************************************
 //This program or source file is free software; you can redistribute it and/or  
 //modify it under the terms of the GNU General Public License as published by  
 //the Free Software Foundation; either version 2 of the License, or (at your  
 //option) any later version.  
 //  
 //This program or source file is distributed in the hope that it will  
 //be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of  
 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  
 //GNU General Public License for more details.  
 //  
 //You may have received a copy of the GNU General Public License  
 //along with this program; if not, write to the Free Software  
 //Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  
 //  
31  //This module is the GCD subfunction of a general-purpose CGI-BIN program to support  //This module is the GCD subfunction of a general-purpose CGI-BIN program to support
32  //number theory demonstration applications.    //number theory demonstration applications.  
33  //  //
# Line 211  int SUBFUNC_GCD_main(int argc, char *arg Line 222  int SUBFUNC_GCD_main(int argc, char *arg
222     }     }
223    
224  //********************************************************************************  //********************************************************************************
 // $Log: subfunc_gcd.c,v $  
 // Revision 1.5  2003/07/01 03:46:58  dtashley  
 // Edits towards working continued fraction best rational approximation  
 // functionality.  
 //  
 // Revision 1.4  2003/04/17 20:02:05  dtashley  
 // License text for the GPL added.  All source files are now under the GPL,  
 // after some discussion on the GMP list.  
 //  
 // Revision 1.3  2003/04/14 23:27:01  dtashley  
 // Subfunction GMP_PROB_PRIME finished.  
 //  
 // Revision 1.2  2003/04/14 02:55:25  dtashley  
 // Final edits on GCD.  
 //  
 // Revision 1.1  2003/04/13 23:46:06  dtashley  
 // Initial checkin.  
 //********************************************************************************  
225  // End of SUBFUNC_GCD.C.  // End of SUBFUNC_GCD.C.
226  //********************************************************************************  //********************************************************************************

Legend:
Removed from v.174  
changed lines
  Added in v.175

dashley@gmail.com
ViewVC Help
Powered by ViewVC 1.1.25