Changeset 8838ab in git for factory/singext.cc
- Timestamp:
- Jun 15, 1999, 10:34:18 AM (25 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- df4422b2fdaedca7c8e3cbd827167ed22d5024c7
- Parents:
- 3c8e50bcc6eb720109f4b83d71567c36d48d8ae1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/singext.cc
r3c8e50 r8838ab 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: singext.cc,v 1. 2 1997-06-19 12:21:59 schmidtExp $ */2 /* $Id: singext.cc,v 1.3 1999-06-15 08:34:18 Singular Exp $ */ 3 3 4 4 #include <config.h> … … 54 54 } 55 55 56 int gf_value (const CanonicalForm & f ) 57 { 58 InternalCF * ff = f.getval(); 59 return ((int)ff) >>2; 60 } 61 56 62 CanonicalForm 57 63 make_cf ( const MP_INT & n ) … … 65 71 return CanonicalForm( CFFactory::rational( n, d, normalize ) ); 66 72 } 73 74 CanonicalForm make_cf_from_gf ( const int z ) 75 { 76 return CanonicalForm(int2imm_gf(z)); 77 }
Note: See TracChangeset
for help on using the changeset viewer.