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

Diff of /projs/dtats/trunk/projs/2018/20180707_cgi_web_tools_aux_exe/sieve_eratosthenes.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  //This program or source file is free software; you can redistribute it and/or  //Permission is hereby granted, free of charge, to any person obtaining a copy
14  //modify it under the terms of the GNU General Public License as published by  //of this software and associated documentation files (the "Software"), to deal
15  //the Free Software Foundation; either version 2 of the License, or (at your  //in the Software without restriction, including without limitation the rights
16  //option) any later version.  //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  //This program or source file is distributed in the hope that it will  //The above copyright notice and this permission notice shall be included in all
21  //be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of  //copies or substantial portions of the Software.
 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  
 //GNU General Public License for more details.  
22  //  //
23  //You may have received a copy of the GNU General Public License  //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24  //along with this program; if not, write to the Free Software  //IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25  //Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  //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  //********************************************************************************  //********************************************************************************
31  //  //
32  #define MODULE_SIEVE_ERATOSTHENES  #define MODULE_SIEVE_ERATOSTHENES
# Line 2825  const unsigned SIEVE_ERATOSTHENES_sieve[ Line 2836  const unsigned SIEVE_ERATOSTHENES_sieve[
2836      12, /* [  478] (was [2297]) */      12, /* [  478] (was [2297]) */
2837       2, /* [  479] (was [2309]) */       2, /* [  479] (was [2309]) */
2838       };       };
2839  //  
 //********************************************************************************  
 //$Log: sieve_eratosthenes.c,v $  
 //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/16 07:02:06  dtashley  
 //Spelling of Greek name corrected to Eratosthenes from incorrect Erastothenes.  
 //  
 //Revision 1.2  2003/04/15 22:47:26  dtashley  
 //Edits complete.  
 //  
 //Revision 1.1  2003/04/15 22:35:41  dtashley  
 //Initial checkin.  
2840  //********************************************************************************  //********************************************************************************
2841  //End of SIEVE_ERATOSTHENES.C.  //End of SIEVE_ERATOSTHENES.C.
2842  //********************************************************************************  //********************************************************************************

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

dashley@gmail.com
ViewVC Help
Powered by ViewVC 1.1.25