Changeset b45d97 in git
- Timestamp:
- Apr 17, 1999, 2:30:24 PM (24 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- a79a12873c307b35db5462af26c49d5b594af644
- Parents:
- 458bd67f21def86763df6137584fe9c0d9fa9a66
- Location:
- Singular
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/clapsing.cc
r458bd6 rb45d97 3 3 * Computer Algebra System SINGULAR * 4 4 ****************************************/ 5 // $Id: clapsing.cc,v 1.4 8 1999-03-15 16:18:51Singular Exp $5 // $Id: clapsing.cc,v 1.49 1999-04-17 12:30:16 Singular Exp $ 6 6 /* 7 7 * ABSTRACT: interface between Singular and factory … … 133 133 StringSetS( tag ); \ 134 134 napWrite( f ); \ 135 PrintS(StringAppend ("\n"));135 PrintS(StringAppendS("\n")); 136 136 // CanonicalForm f, represents transcendent extension 137 137 #define FACTORY_CFTROUT_POLY( tag, f ) \ … … 140 140 StringSetS( tag ); \ 141 141 napWrite( F ); \ 142 PrintS(StringAppend ("\n")); \142 PrintS(StringAppendS("\n")); \ 143 143 napDelete( &F ); \ 144 144 } … … 149 149 StringSetS( tag ); \ 150 150 napWrite( F ); \ 151 PrintS(StringAppend ("\n")); \151 PrintS(StringAppendS("\n")); \ 152 152 napDelete( &F ); \ 153 153 } … … 609 609 //#ifdef LDEBUG 610 610 //number cn=(number)c; 611 //StringSet(""); nWrite(nt); StringAppend (" ==> ");612 //nWrite(cn);PrintS(StringAppend ("\n"));611 //StringSet(""); nWrite(nt); StringAppendS(" ==> "); 612 //nWrite(cn);PrintS(StringAppendS("\n")); 613 613 //#endif 614 614 } … … 928 928 if (i<offs) 929 929 { 930 StringAppend (currRing->parameter[i]);930 StringAppendS(currRing->parameter[i]); 931 931 } 932 932 else 933 933 { 934 StringAppend (currRing->names[i-offs]);934 StringAppendS(currRing->names[i-offs]); 935 935 } 936 936 Li++; 937 937 cnt--; 938 938 if(cnt==0) break; 939 StringAppend (",");939 StringAppendS(","); 940 940 if(! Li.hasItem()) break; 941 941 } … … 946 946 if (i<offs) 947 947 { 948 StringAppend (currRing->parameter[i]);948 StringAppendS(currRing->parameter[i]); 949 949 } 950 950 else 951 951 { 952 StringAppend (currRing->names[i-offs]);952 StringAppendS(currRing->names[i-offs]); 953 953 } 954 954 cnt--; 955 955 if(cnt==0) break; 956 StringAppend (",");957 } 958 } 959 return mstrdup(StringAppend (""));956 StringAppendS(","); 957 } 958 } 959 return mstrdup(StringAppendS("")); 960 960 #else 961 961 return NULL; -
Singular/intvec.cc
r458bd6 rb45d97 2 2 * Computer Algebra System SINGULAR * 3 3 *****************************************/ 4 /* $Id: intvec.cc,v 1.1 1 1999-04-16 07:53:33 obachmanExp $ */4 /* $Id: intvec.cc,v 1.12 1999-04-17 12:30:17 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: class intvec: lists/vectors of integers … … 112 112 if (j+1<row) 113 113 { 114 if (dim > 1) StringAppend ("\n");114 if (dim > 1) StringAppendS("\n"); 115 115 if (spaces>0) StringAppend("%-*.*s",spaces,spaces," "); 116 116 } 117 117 } 118 118 } 119 return StringAppend ("");119 return StringAppendS(""); 120 120 } 121 121 -
Singular/ipprint.cc
r458bd6 rb45d97 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ipprint.cc,v 1. 8 1998-11-16 08:41:17Singular Exp $ */4 /* $Id: ipprint.cc,v 1.9 1999-04-17 12:30:18 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: interpreter: printing … … 97 97 { 98 98 pString(m->m[i]); 99 ss=StringAppend (",");99 ss=StringAppendS(","); 100 100 if ((int)strlen(ss)>colmax) s[i]=NULL; 101 101 else s[i]=mstrdup(ss); -
Singular/ipshell.cc
r458bd6 rb45d97 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ipshell.cc,v 1. 39 1999-04-16 07:53:38 obachmanExp $ */4 /* $Id: ipshell.cc,v 1.40 1999-04-17 12:30:18 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: … … 506 506 pString0(*pp++); 507 507 s=StringAppend("%c",ch); 508 if (dim > 1) s = StringAppend ("\n");508 if (dim > 1) s = StringAppendS("\n"); 509 509 } 510 510 } -
Singular/longalg.cc
r458bd6 rb45d97 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: longalg.cc,v 1.3 0 1999-03-08 18:11:47Singular Exp $ */4 /* $Id: longalg.cc,v 1.31 1999-04-17 12:30:20 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: algebraic numbers … … 764 764 else if (nacIsMOne(p->ko)) 765 765 { 766 StringAppend ("-");766 StringAppendS("-"); 767 767 } 768 768 int i; … … 775 775 else 776 776 wroteCoeff=(pShortOut==0); 777 StringAppend (naParNames[i]);777 StringAppendS(naParNames[i]); 778 778 if (p->e[i] > 1) 779 779 { -
Singular/longrat0.cc
r458bd6 rb45d97 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: longrat0.cc,v 1. 6 1998-05-27 17:14:08Singular Exp $ */4 /* $Id: longrat0.cc,v 1.7 1999-04-17 12:30:21 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - … … 117 117 else if (a==NULL) 118 118 { 119 StringAppend ("o");119 StringAppendS("o"); 120 120 } 121 121 #endif … … 133 133 s=(char*)Alloc(l); 134 134 z=mpz_get_str(s,10,&a->z); 135 StringAppend (z);135 StringAppendS(z); 136 136 if (a->s!=3) 137 137 { 138 StringAppend ("/");138 StringAppendS("/"); 139 139 z=mpz_get_str(s,10,&a->n); 140 StringAppend (z);140 StringAppendS(z); 141 141 } 142 142 Free((ADDRESS)s,l); -
Singular/misc.cc
r458bd6 rb45d97 683 683 } 684 684 } 685 PrintTCLS('O',StringAppend (""));685 PrintTCLS('O',StringAppendS("")); 686 686 StringSet(""); 687 687 } … … 735 735 } 736 736 } 737 return mstrdup(StringAppend (""));737 return mstrdup(StringAppendS("")); 738 738 } 739 739 else 740 return mstrdup(StringAppend (" none"));740 return mstrdup(StringAppendS(" none")); 741 741 } 742 742 … … 797 797 #endif 798 798 #ifdef MTRACK 799 StringAppend ("MTRACK,");799 StringAppendS("MTRACK,"); 800 800 #endif 801 801 #ifdef PDEBUG 802 StringAppend ("PDEBUG,");802 StringAppendS("PDEBUG,"); 803 803 #endif 804 804 #ifdef KDEBUG 805 StringAppend ("KDEBUG,");805 StringAppendS("KDEBUG,"); 806 806 #endif 807 807 #ifdef TEST_MAC_ORDER … … 810 810 #ifndef __OPTIMIZE__ 811 811 #ifdef __MWERKS__ 812 StringAppend (" Codewarrior 2.0,");812 StringAppendS(" Codewarrior 2.0,"); 813 813 #else 814 StringAppend ("-g,");814 StringAppendS("-g,"); 815 815 #endif 816 816 #endif -
Singular/ring.cc
r458bd6 rb45d97 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ring.cc,v 1.5 0 1999-04-16 07:53:41 obachmanExp $ */4 /* $Id: ring.cc,v 1.51 1999-04-17 12:30:23 Singular Exp $ */ 5 5 6 6 /* … … 687 687 { 688 688 StringSetS("// minpoly : "); 689 nfShowMipo();PrintS(StringAppend ("\n"));689 nfShowMipo();PrintS(StringAppendS("\n")); 690 690 } 691 691 } -
Singular/silink.cc
r458bd6 rb45d97 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: silink.cc,v 1.2 6 1998-12-03 11:02:38 obachmanExp $ */4 /* $Id: silink.cc,v 1.27 1999-04-17 12:30:24 Singular Exp $ */ 5 5 6 6 /* … … 736 736 StringSetS(""); 737 737 nWrite(IDRING(h)->minpoly); 738 rhs = StringAppend ("");738 rhs = StringAppendS(""); 739 739 if (fprintf(fd, "; minpoly = %s", rhs) == EOF) return EOF; 740 740 } -
Singular/subexpr.cc
r458bd6 rb45d97 699 699 nDelete(&n); 700 700 } 701 s = StringAppend ("");701 s = StringAppendS(""); 702 702 break; 703 703 case MATRIX_CMD:
Note: See TracChangeset
for help on using the changeset viewer.