Changeset b719a3 in git for Singular/ring.h
- Timestamp:
- Jul 8, 1999, 3:38:44 PM (24 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 2082b6153c70d5e5b989c2d74d656bd2e080a3c7
- Parents:
- da408fe6b31ced4ed0febcceb258e7a27064215a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ring.h
rda408f rb719a3 7 7 * ABSTRACT - the interpreter related ring operations 8 8 */ 9 /* $Id: ring.h,v 1.2 8 1999-07-01 16:40:44Singular Exp $ */9 /* $Id: ring.h,v 1.29 1999-07-08 13:38:42 Singular Exp $ */ 10 10 11 11 /* includes */ 12 12 #include "structs.h" 13 13 #include "polys-impl.h" 14 15 #define SHORT_REAL_LENGTH 6 // use short reals for real <= 6 digits 16 14 17 15 18 #ifdef DRING … … 62 65 inline BOOLEAN rField_is_R(ring r=currRing) 63 66 { 64 if (rField_is_numeric(r) && (r->ch_flags == (short)0)) return TRUE; 67 if (rField_is_numeric(r) && (r->ch_flags <= (short)SHORT_REAL_LENGTH)) 68 return (r->parameter==NULL); 65 69 return FALSE; 66 70 } … … 75 79 inline BOOLEAN rField_is_long_R(ring r=currRing) 76 80 { 77 if (rField_is_numeric(r) && (r->ch_flags != (short)0))81 if (rField_is_numeric(r) && (r->ch_flags >(short)SHORT_REAL_LENGTH)) 78 82 return (r->parameter==NULL); 79 83 return FALSE; … … 81 85 inline BOOLEAN rField_is_long_C(ring r=currRing) 82 86 { 83 if (rField_is_numeric(r) && (r->ch_flags != (short)0))87 if (rField_is_numeric(r)) 84 88 return (r->parameter!=NULL); 85 89 return FALSE; … … 121 125 rOrderType_Schreyer, // Schreyer ordering 122 126 rOrderType_Syz2dpc, // syzcomp2dpc 123 rOrderType_ExpNoComp // simple ordering, differences in component are 127 rOrderType_ExpNoComp // simple ordering, differences in component are 124 128 // not considered 125 129 } rOrderType_t;
Note: See TracChangeset
for help on using the changeset viewer.