Changeset d6e849 in git
- Timestamp:
- Feb 22, 2008, 11:25:06 AM (15 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 8078c8a05a777673a09af83fb19f5f3e9c1f24ff
- Parents:
- 63e7d6c38be55bb8005c76c07ef7b771f43db0ee
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/homolog.lib
r63e7d6c rd6e849 1 1 /////////////////////////////////////////////////////////////////////////////// 2 version="$Id: homolog.lib,v 1.2 3 2007-06-06 12:39:51Singular Exp $";2 version="$Id: homolog.lib,v 1.24 2008-02-22 10:25:06 Singular Exp $"; 3 3 category="Commutative Algebra"; 4 4 info=" … … 1655 1655 static proc binom_int(int n, int p) 1656 1656 { 1657 strings = binomial(n,p);1658 i f (size(s) > 9) { return(-1); } // result too large for integer1659 execute("int a ="+s);1657 bigint s = binomial(n,p); 1658 int a=int(s); 1659 if ((s!=0)&&(a==0)) { return(-1); } 1660 1660 return(a); 1661 1661 }
Note: See TracChangeset
for help on using the changeset viewer.