Diff for /parser3/src/classes/math.C between versions 1.1 and 1.2

version 1.1, 2001/07/03 10:10:21 version 1.2, 2001/07/06 11:13:35
Line 10  static const char *RCSId="$Id$"; Line 10  static const char *RCSId="$Id$";
 #include "pa_config_includes.h"  #include "pa_config_includes.h"
 #include "pa_common.h"  #include "pa_common.h"
 #include "pa_vint.h"  #include "pa_vint.h"
   #include "pa_vmath.h"
 #include "pa_request.h"  #include "pa_request.h"
   
 // defines  // defines
Line 125  MMath::MMath(Pool& apool) : Methoded(apo Line 126  MMath::MMath(Pool& apool) : Methoded(apo
   
 }  }
   
   // global variables
   
   Methoded *math_base_class;
   Hash *math_consts;
   
 // creator  // creator
   
 Methoded *MMath_create(Pool& pool) {  Methoded *MMath_create(Pool& pool) {
         return new(pool) MMath(pool);          math_consts=new(pool) Hash(pool);
           math_consts->put(
                   *new(pool) String(pool, "PI"), 
                   new(pool) VDouble(pool, 3.1415926535));
   
           return math_base_class=new(pool) MMath(pool);
 }  }

Removed from v.1.1  
changed lines
  Added in v.1.2


E-mail: