Annotation of parser3/src/types/pa_vmath.C, revision 1.15
1.2 paf 1: /** @file
2: Parser: @b math class.
3:
1.15 ! moko 4: Copyright (c) 2001-2017 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.15 ! moko 11: volatile const char * IDENT_PA_VMATH_C="$Id: pa_vmath.C,v 1.14 2016/04/06 16:08:20 moko Exp $" IDENT_PA_VMATH_H;
1.10 moko 12:
1.2 paf 13: // externs
14:
1.13 moko 15: extern Methoded* math_class;
1.2 paf 16:
17: // methods
18:
1.14 moko 19: VMath::VMath(): VStateless_class(math_class) {
1.11 moko 20: fconsts.put("PI", new VDouble(PI));
21: fconsts.put("E", new VDouble(MathE));
1.2 paf 22: }
E-mail: