Annotation of parser3/src/types/pa_vmath.C, revision 1.10
1.2 paf 1: /** @file
2: Parser: @b math class.
3:
1.10 ! moko 4: Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com)
1.2 paf 5: Author: Alexandr Petrosian <paf@design.ru>(http://paf.design.ru)
6: */
7:
8: #include "pa_vmath.h"
9: #include "pa_vdouble.h"
10:
1.10 ! moko 11: volatile const char * IDENT_PA_VMATH_C="$Id: 2009-04-10 02:23:50 $" IDENT_PA_VMATH_H;
! 12:
1.2 paf 13: // externs
14:
15: extern Methoded* math_base_class;
16:
17: // methods
18:
19: VMath::VMath(): VStateless_class(0, math_base_class) {
1.6 paf 20: fconsts.put(String::Body("PI"), new VDouble(PI));
1.9 misha 21: fconsts.put(String::Body("E"), new VDouble(MathE));
1.2 paf 22: }
E-mail: