Annotation of parser3/src/types/pa_vmath.C, revision 1.17
1.2 paf 1: /** @file
2: Parser: @b math class.
3:
1.17 ! moko 4: Copyright (c) 2001-2023 Art. Lebedev Studio (http://www.artlebedev.com)
! 5: Authors: Konstantin Morshnev <moko@design.ru>, Alexandr Petrosian <paf@design.ru>
1.2 paf 6: */
7:
8: #include "pa_vmath.h"
9: #include "pa_vdouble.h"
10:
1.17 ! moko 11: volatile const char * IDENT_PA_VMATH_C="$Id: pa_vmath.C,v 1.16 2020/12/15 17:10:41 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: