Changeset 5d68a6 in git for kernel/clapconv.cc
- Timestamp:
- Dec 17, 2008, 4:08:50 PM (15 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 06babc58e0b2f4d1aa9531df0295f716578651d1
- Parents:
- aa5055c85d54ecfba96a8906de445fdb57edb98d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/clapconv.cc
raa5055 r5d68a6 3 3 * Computer Algebra System SINGULAR * 4 4 ****************************************/ 5 // $Id: clapconv.cc,v 1.1 1 2008-04-08 16:59:53Singular Exp $5 // $Id: clapconv.cc,v 1.12 2008-12-17 15:07:46 Singular Exp $ 6 6 /* 7 7 * ABSTRACT: convert data between Singular and factory … … 22 22 #include "ring.h" 23 23 #include "sbuckets.h" 24 #include "ffields.h" 25 void out_cf(char *s1,const CanonicalForm &f,char *s2); 24 26 25 27 static void convRec( const CanonicalForm & f, int * exp, poly & result ); … … 625 627 } 626 628 627 #if 0628 629 CanonicalForm 629 630 convSingGFFactoryGF( poly p ) 630 631 { 631 CanonicalForm result = 0;632 CanonicalForm result=CanonicalForm(0); 632 633 int e, n = pVariables; 633 634 … … 635 636 { 636 637 CanonicalForm term; 637 term = make_cf_from_gf( pGetCoeff( p ) ); 638 term = make_cf_from_gf( (int)(long)pGetCoeff( p ) ); 639 //int * A=(int *)&term; 640 //Print("term=%x, == 0 ?: %d\n",*A, term.isZero()); 638 641 for ( int i = 1; i <= n; i++ ) 639 642 { … … 687 690 } 688 691 } 689 #endif690 692 691 693 int convFactoryISingI( const CanonicalForm & f)
Note: See TracChangeset
for help on using the changeset viewer.