Changeset 282c8d in git
- Timestamp:
- Oct 5, 2009, 12:30:21 PM (14 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- d6f104a22d8ad0e108a38bd7f5f8d96828ca7df0
- Parents:
- 140eba8605f3038a0a5f7dcefdf6131d198a51c8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipshell.cc
r140eba r282c8d 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ipshell.cc,v 1.21 3 2009-09-24 16:36:12Singular Exp $ */4 /* $Id: ipshell.cc,v 1.214 2009-10-05 10:30:21 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: … … 513 513 int iiIsPrime0(unsigned p) /* brute force !!!! */ 514 514 { 515 unsigned i,j ;515 unsigned i,j=0 /*only to avoid compiler warnings*/; 516 516 #ifdef HAVE_FACTORY 517 517 if (p<=32749) // max. small prime in factory … … 522 522 do 523 523 { 524 if (p==(j=cf_getSmallPrime(i))) return p; 524 j=cf_getSmallPrime(i); 525 if (p==j) return p; 525 526 if (p<j) e=i-1; 526 527 else a=i+1;
Note: See TracChangeset
for help on using the changeset viewer.