Changeset 5d68a6 in git for kernel/clapconv.cc


Ignore:
Timestamp:
Dec 17, 2008, 4:08:50 PM (15 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
06babc58e0b2f4d1aa9531df0295f716578651d1
Parents:
aa5055c85d54ecfba96a8906de445fdb57edb98d
Message:
*hannes: factory conversion:GF


git-svn-id: file:///usr/local/Singular/svn/trunk@11253 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/clapconv.cc

    raa5055 r5d68a6  
    33*  Computer Algebra System SINGULAR     *
    44****************************************/
    5 // $Id: clapconv.cc,v 1.11 2008-04-08 16:59:53 Singular Exp $
     5// $Id: clapconv.cc,v 1.12 2008-12-17 15:07:46 Singular Exp $
    66/*
    77* ABSTRACT: convert data between Singular and factory
     
    2222#include "ring.h"
    2323#include "sbuckets.h"
     24#include "ffields.h"
     25void out_cf(char *s1,const CanonicalForm &f,char *s2);
    2426
    2527static void convRec( const CanonicalForm & f, int * exp, poly & result );
     
    625627}
    626628
    627 #if 0
    628629CanonicalForm
    629630convSingGFFactoryGF( poly p )
    630631{
    631   CanonicalForm result = 0;
     632  CanonicalForm result=CanonicalForm(0);
    632633  int e, n = pVariables;
    633634
     
    635636  {
    636637    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());
    638641    for ( int i = 1; i <= n; i++ )
    639642    {
     
    687690  }
    688691}
    689 #endif
    690692
    691693int convFactoryISingI( const CanonicalForm & f)
Note: See TracChangeset for help on using the changeset viewer.