~ubuntu-branches/ubuntu/intrepid/ecl/intrepid

« back to all changes in this revision

Viewing changes to src/gmp/demos/isprime.c

  • Committer: Bazaar Package Importer
  • Author(s): Peter Van Eynde
  • Date: 2007-04-09 11:51:51 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070409115151-ql8cr0kalzx1jmla
Tags: 0.9i-20070324-2
Upload to unstable. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Classify numbers as probable primes, primes or composites.
2
2
   With -q return true if the folowing argument is a (probable) prime.
3
3
 
4
 
Copyright 1999, 2000, 2002 Free Software Foundation, Inc.
 
4
Copyright 1999, 2000, 2002, 2005 Free Software Foundation, Inc.
5
5
 
6
6
This program is free software; you can redistribute it and/or modify it under
7
7
the terms of the GNU General Public License as published by the Free Software
13
13
PARTICULAR PURPOSE.  See the GNU General Public License for more details.
14
14
 
15
15
You should have received a copy of the GNU General Public License along with
16
 
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
17
 
Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
16
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
 
17
Street, Fifth Floor, Boston, MA 02110-1301, USA. */
18
18
 
 
19
#include <stdlib.h>
19
20
#include <stdio.h>
20
21
#include "gmp.h"
21
22