Annotation of parser3/src/types/pa_vmath.C, revision 1.11
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.11 ! moko 11: volatile const char * IDENT_PA_VMATH_C="$Id: pa_vmath.C,v 1.10 2012/03/16 09:24:18 moko Exp $" IDENT_PA_VMATH_H;
1.10 moko 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.11 ! moko 20: fconsts.put("PI", new VDouble(PI));
! 21: fconsts.put("E", new VDouble(MathE));
1.2 paf 22: }
E-mail: