Changeset 516dc8 in git
- Timestamp:
- Oct 10, 1997, 12:35:00 PM (27 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 791c0a38fb1f994041336b04086e94a782c10772
- Parents:
- 7e0be1775e73a414d64da15b4af232adea1e889c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/int_rat.cc
r7e0be1 r516dc8 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: int_rat.cc,v 1. 5 1997-09-10 15:46:21schmidt Exp $ */2 /* $Id: int_rat.cc,v 1.6 1997-10-10 10:35:00 schmidt Exp $ */ 3 3 4 4 #include <config.h> … … 139 139 } 140 140 141 InternalCF* InternalRational::num() 141 //{{{ InternalCF* InternalRational::num (), den () 142 // docu: see CanonicalForm::num(), den() 143 InternalCF* InternalRational::num () 142 144 { 143 145 if ( mpz_is_imm( &_num ) ) { … … 152 154 } 153 155 154 InternalCF* InternalRational::den ()156 InternalCF* InternalRational::den () 155 157 { 156 158 if ( mpz_is_imm( &_den ) ) { … … 164 166 } 165 167 } 168 //}}} 166 169 167 170 InternalCF* InternalRational::neg() … … 720 723 } 721 724 722 // int InternalRational::intmod( int p ) const723 // {724 // return (int)mpz_mmod_ui( 0, &thempq, (unsigned long)p );725 // }726 727 725 //{{{ int InternalRational::sign () const 728 726 // docu: see CanonicalForm::sign()
Note: See TracChangeset
for help on using the changeset viewer.