Changeset 31a04de in git


Ignore:
Timestamp:
Mar 2, 2011, 9:49:15 AM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38077648e7239f98078663eb941c3c979511150a')
Children:
4878eb2d5380dde4d59563d569c292c8a227914a
Parents:
bca6c660909a69030726efe925ffb8ebe3f45148
Message:
debug bb stuff removed

git-svn-id: file:///usr/local/Singular/svn/trunk@13913 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/extra.cc

    rbca6c6 r31a04de  
    1616#include <kernel/mod2.h>
    1717#include <misc_ip.h>
    18 #include <blackbox.h>
    1918
    2019#ifdef TIME_WITH_SYS_TIME
     
    162161//#endif /* not HAVE_DYNAMIC_LOADING */
    163162
    164 #include <Singular/bigintm.h>
    165 
    166163#ifdef ix86_Win
    167164//#include <Python.h>
     
    177174#ifdef ix86_Win  /* PySingular initialized? */
    178175static int PyInitialized = 0;
    179 #endif
    180 
    181 #if SIZEOF_LONG == 8
    182 static number jjLONG2N(long d)
    183 {
    184   int i=(int)d;
    185   if ((long)i == d)
    186   {
    187     return nlInit(i, NULL);
    188   }
    189   else
    190   {
    191 #if !defined(OM_NDEBUG) && !defined(NDEBUG)
    192     omCheckBin(rnumber_bin);
    193 #endif
    194     number z=(number)omAllocBin(rnumber_bin);
    195 #if defined(LDEBUG)
    196     z->debug=123456;
    197 #endif
    198     z->s=3;
    199     mpz_init_set_si(z->z,d);
    200     return z;
    201   }
    202 }
    203 #else
    204 #define jjLONG2N(D) nlInit((int)D, NULL)
    205176#endif
    206177
     
    39013872  else
    39023873#endif
    3903 /*==================== listing all blackbox types (debug stuff) =========*/
    3904   if(strcmp(sys_cmd,"blackbox")==0)
    3905   {
    3906     printBlackboxTypes();
    3907     return FALSE;
    3908   } else
    3909 /*==================== init the bigintm (a sample blackbox) type =========*/
    3910   if(strcmp(sys_cmd,"bigintm_setup") == 0)
    3911   {
    3912     return bigintm_setup();
    3913   } else
    39143874/*==================== Error =================*/
    39153875      Werror( "(extended) system(\"%s\",...) %s", sys_cmd, feNotImplemented );
Note: See TracChangeset for help on using the changeset viewer.