- Timestamp:
- Dec 17, 1997, 12:30:06 PM (26 years ago)
- Branches:
- (u'spielwiese', 'd1b01e9d51ade4b46b745d3bada5c5f3696be3a8')
- Children:
- 535f7b551d1182f53551d206bdf73560068248cf
- Parents:
- f2b01eca27ace002359c34b3357e1f36bfdc519e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/int_cf.cc
rf2b01e ra1ec00e 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: int_cf.cc,v 1. 8 1997-10-10 10:49:53schmidt Exp $ */2 /* $Id: int_cf.cc,v 1.9 1997-12-17 11:30:06 schmidt Exp $ */ 3 3 4 4 #include <config.h> … … 55 55 InternalCF::taildegree () 56 56 { 57 return 0; 57 if ( isZero() ) 58 return -1; 59 else 60 return 0; 58 61 } 59 62 //}}} … … 74 77 //}}} 75 78 76 //{{{ int InternalCF::sign () const77 // docu: see CanonicalForm::sign()78 int79 InternalCF::sign () const80 {81 ASSERT1( 0, "fatal error: not implemented for class %s", this->classname() );82 return 0;83 }84 //}}}85 86 79 //{{{ InternalCF * InternalCF::sqrt () 87 80 // docu: see CanonicalForm::sqrt() … … 89 82 InternalCF::sqrt () 90 83 { 91 ASSERT1( 0, " fatal error:not implemented for class %s", this->classname() );84 ASSERT1( 0, "sqrt() not implemented for class %s", this->classname() ); 92 85 return 0; 93 86 } … … 99 92 InternalCF::ilog2 () 100 93 { 101 ASSERT1( 0, " fatal error:not implemented for class %s", this->classname() );94 ASSERT1( 0, "ilog2() not implemented for class %s", this->classname() ); 102 95 return 0; 103 96 } 104 97 //}}} 105 98 99 //{{{ CanonicalForm InternalCF::coeff ( int i ) 100 // docu: see CanonicalForm::operator []() 106 101 CanonicalForm 107 102 InternalCF::coeff ( int i ) … … 110 105 return CanonicalForm( copyObject() ); 111 106 else 112 return 0;107 return CanonicalForm( 0 ); 113 108 } 109 //}}} 114 110 115 111 int 116 112 InternalCF::intval() const 117 113 { 118 ASSERT1( 0, "i llegal conversion:not implemented for class %s", this->classname() );114 ASSERT1( 0, "intval() not implemented for class %s", this->classname() ); 119 115 return 0; 120 116 } … … 123 119 InternalCF::invert() 124 120 { 125 ASSERT1( 0, "in ternal factory error:not implemented for class %s", this->classname() );121 ASSERT1( 0, "invert() not implemented for class %s", this->classname() ); 126 122 return 0; 127 123 } 128 129 int130 InternalCF::comparecoeff ( InternalCF* )131 {132 ASSERT1( 0, "fatal error: not implemented for class %s", this->classname() );133 return 0;134 }
Note: See TracChangeset
for help on using the changeset viewer.