Changeset 9235af in git


Ignore:
Timestamp:
Sep 24, 1999, 6:39:47 PM (25 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
83d79271a4796d9c7a7f25220923a7f59a2fa87c
Parents:
3b11a78a378382d4ee54486edaad3d3765c00b95
Message:
* hannes: added mmInit to to mpr_complex: global class object need it


git-svn-id: file:///usr/local/Singular/svn/trunk@3660 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
Singular
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • Singular/mmemory.h

    r3b11a7 r9235af  
    44*  Computer Algebra System SINGULAR     *
    55****************************************/
    6 /* $Id: mmemory.h,v 1.20 1999-08-18 09:18:44 obachman Exp $ */
     6/* $Id: mmemory.h,v 1.21 1999-09-24 16:39:46 Singular Exp $ */
    77/*
    88* ABSTRACT
     
    384384#ifdef __cplusplus
    385385}
    386 #endif
    387 
    388 
    389 #endif
     386int mmInit();
     387#endif
     388
     389
     390#endif
  • Singular/mminit.cc

    r3b11a7 r9235af  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: mminit.cc,v 1.15 1998-12-02 13:57:33 obachman Exp $ */
     4/* $Id: mminit.cc,v 1.16 1999-09-24 16:39:46 Singular Exp $ */
    55/*
    66* ABSTRACT: init of memory management
     
    6464#endif
    6565
    66 int mmInit();
    6766static int mmIsInitialized=mmInit();
    6867
  • Singular/mpr_complex.cc

    r3b11a7 r9235af  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: mpr_complex.cc,v 1.15 1999-07-28 08:22:15 wenk Exp $ */
     4/* $Id: mpr_complex.cc,v 1.16 1999-09-24 16:39:47 Singular Exp $ */
    55
    66/*
     
    3838
    3939size_t gmp_output_digits= DEFPREC;
     40
     41int dummy=mmInit();
     42const gmp_float  gmpOne= 1;
     43const gmp_float gmpMOne= -1;
     44const gmp_float gmpZero= 0;
     45
    4046
    4147//-> setGMPFloat*
  • Singular/mpr_complex.h

    r3b11a7 r9235af  
    44*  Computer Algebra System SINGULAR     *
    55****************************************/
    6 /* $Id: mpr_complex.h,v 1.7 1999-07-28 08:22:16 wenk Exp $ */
     6/* $Id: mpr_complex.h,v 1.8 1999-09-24 16:39:47 Singular Exp $ */
    77
    88/*
     
    143143};
    144144
    145 static const gmp_float  gmpOne= 1;
    146 static const gmp_float gmpMOne= -1;
    147 static const gmp_float gmpZero= 0;
     145extern const gmp_float  gmpOne;
     146extern const gmp_float gmpMOne;
     147extern const gmp_float gmpZero;
    148148
    149149// <gmp_float> operator <gmp_float>
Note: See TracChangeset for help on using the changeset viewer.