[BACK]Return to qcn.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gmp / demos

Diff for /OpenXM_contrib/gmp/demos/Attic/qcn.c between version 1.1 and 1.1.1.2

version 1.1, 2000/09/09 14:13:19 version 1.1.1.2, 2003/08/25 16:06:03
Line 1 
Line 1 
 /* Use mpz_kronecker_ui() to calculate an estimate for the quadratic  /* Use mpz_kronecker_ui() to calculate an estimate for the quadratic
    class number h(d), for a given negative fundamental discriminant, using     class number h(d), for a given negative fundamental discriminant, using
    Dirichlet's analytic formula. */     Dirichlet's analytic formula.
   
 /*  Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
 Copyright (C) 1999, 2000 Free Software Foundation, Inc.  
   
 This file is part of the GNU MP Library.  This file is part of the GNU MP Library.
   
Line 43  Place - Suite 330, Boston, MA 02111-1307, USA.  */
Line 42  Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #include <stdio.h>  #include <stdio.h>
   
 #include "gmp.h"  #include "gmp.h"
   
   #ifndef M_PI
   #define M_PI  3.14159265358979323846
   #endif
   
   
 /* A simple but slow primality test.  */  /* A simple but slow primality test.  */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.1.2

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>