Changeset 3706b2 in git for Singular/misc_ip.cc
- Timestamp:
- May 18, 2012, 1:42:21 PM (11 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- e5324ae0d87043f3dd2f19e754586d0028d614cc
- Parents:
- d0015c9c5906ccd1040927a2140a137a93d743b1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/misc_ip.cc
rd0015c r3706b2 7 7 * 8 8 * For more general information, see the documentation in misc_ip.h. 9 *10 * @internal @version \$Id$11 9 * 12 10 **/ … … 262 260 p_ui +=add; 263 261 //add += 2; if (add == 6) add = 2; 264 262 add =2+2*(add==2); 265 263 } 266 264 mpz_set_ui(nn,nn_ui); … … 679 677 v=v->next; 680 678 } while (v!=NULL); 681 679 682 680 #ifdef OM_SINGULAR_CONFIG_H 683 681 // set global variable to show memory usage … … 686 684 else om_sing_opt_show_mem = 0; 687 685 #endif 688 686 689 687 return FALSE; 690 688 } … … 1032 1030 } 1033 1031 } 1034 if (i<=0) 1035 { 1032 if(!singular_in_batchmode) 1033 { 1034 if (i<=0) 1035 { 1036 1036 if (TEST_V_QUIET) 1037 1037 { … … 1041 1041 printf("\n$Bye.\n"); 1042 1042 } 1043 //#ifdef sun 1044 // #ifndef __svr4__ 1045 // _cleanup(); 1046 // _exit(0); 1047 // #endif 1048 //#endif 1049 exit(0); 1050 } 1051 else 1052 { 1053 if(!singular_in_batchmode) 1054 { 1043 //#ifdef sun 1044 // #ifndef __svr4__ 1045 // _cleanup(); 1046 // _exit(0); 1047 // #endif 1048 //#endif 1049 i=0; 1050 } 1051 else 1052 { 1055 1053 printf("\nhalt %d\n",i); 1056 1054 } 1057 1055 } 1058 1056 #ifdef HAVE_MPSR … … 1114 1112 memset(&sLastPrinted,0,sizeof(sleftv)); 1115 1113 sLastPrinted.rtyp=NONE; 1116 1114 1117 1115 extern int iiInitArithmetic(); iiInitArithmetic(); // iparith.cc 1118 1116 … … 1127 1125 1128 1126 coeffs_BIGINT = nInitChar(n_Q,NULL); 1129 1130 #if 1 1127 1128 #if 1 1131 1129 // def HAVE_POLYEXTENSIONS 1132 1130 if(TRUE) … … 1134 1132 n_coeffType type = nRegister(n_algExt, naInitChar); 1135 1133 assume(type == n_algExt); 1136 1134 1137 1135 type = nRegister(n_transExt, ntInitChar); 1138 1136 assume(type == n_transExt);
Note: See TracChangeset
for help on using the changeset viewer.