Changeset da408f in git for Singular/extra.cc
- Timestamp:
- Jul 8, 1999, 12:18:13 PM (24 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- b719a30005f8bcbcca9d638b7908dda038ffee56
- Parents:
- 4deddb979be065737d63e926fc05f264a6b1078a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/extra.cc
r4deddb rda408f 2 2 * Computer Algebra System SINGULAR * 3 3 *****************************************/ 4 /* $Id: extra.cc,v 1.9 4 1999-06-28 12:48:07 wenk Exp $ */4 /* $Id: extra.cc,v 1.95 1999-07-08 10:18:07 wenk Exp $ */ 5 5 /* 6 6 * ABSTRACT: general interface to internals of Singular ("system" command) … … 409 409 char *sys_cmd=(char *)(h->Data()); 410 410 h=h->next; 411 /*==================== setFloatDigits ================================*/412 if(strcmp(sys_cmd,"setFloatDigits")==0)413 {414 if ((h!=NULL) && (h->Typ()==INT_CMD))415 {416 if ( !(rField_is_R()||rField_is_long_R()||rField_is_long_C()) )417 {418 setGMPFloatDigits( (unsigned long int)h->Data() );419 res->rtyp=INT_CMD;420 res->data=(void*)getGMPFloatDigits();421 }422 else423 {424 res->rtyp=INT_CMD;425 res->data=(void*)0;426 }427 return FALSE;428 }429 else430 {431 WerrorS("int expected as second parameter");432 }433 }434 else435 411 /*==================== pcv ==================================*/ 436 412 #ifndef HAVE_DYNAMIC_LOADING
Note: See TracChangeset
for help on using the changeset viewer.