Changeset b719a3 in git for Singular/ring.cc
- 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.cc
rda408f rb719a3 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ring.cc,v 1.5 6 1999-07-01 16:40:42Singular Exp $ */4 /* $Id: ring.cc,v 1.57 1999-07-08 13:38:44 Singular Exp $ */ 5 5 6 6 /* … … 526 526 527 527 /* characteristic -----------------------------------------------*/ 528 /* input: 0 ch=0 : Q parameter=NULL ffChar=FALSE 528 /* input: 0 ch=0 : Q parameter=NULL ffChar=FALSE ch_flags 529 529 * 0 1 : Q(a,...) *names FALSE 530 * 0 -1 : R NULL FALSE 531 * 0 -1 : C *names FALSE 530 * 0 -1 : R NULL FALSE 0 531 * 0 -1 : R NULL FALSE prec. >6 532 * 0 -1 : C *names FALSE prec. 0..? 532 533 * p p : Fp NULL FALSE 533 534 * p -p : Fp(a) *names FALSE … … 591 592 goto rInitError; 592 593 } 594 /* post-processing of field description */ 595 // we have short reals, but no short complex 596 if ((R->ch == - 1) 597 && (R->parameter !=NULL) 598 && (R->ch_flags < SHORT_REAL_LENGTH)) 599 R->ch_flags = SHORT_REAL_LENGTH; 593 600 594 601 /* names and number of variables-------------------------------------*/ … … 733 740 } 734 741 PrintS("\n// minpoly : "); 735 if (r->minpoly==NULL) 742 if ( rField_is_long_C(r) ) 743 { 744 // i^2+1: 745 Print("(%s^2+1)\n",r->parameter[0]); 746 } 747 else if (r->minpoly==NULL) 736 748 { 737 749 PrintS("0\n");
Note: See TracChangeset
for help on using the changeset viewer.