--- parser3/src/classes/int.C 2026/01/06 16:36:39 1.74 +++ parser3/src/classes/int.C 2026/04/25 13:38:46 1.76 @@ -1,7 +1,7 @@ /** @file Parser: @b int parser class. - Copyright (c) 2001-2024 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2001-2026 Art. Lebedev Studio (https://www.artlebedev.com) Authors: Konstantin Morshnev , Alexandr Petrosian */ @@ -13,7 +13,7 @@ #include "pa_vint.h" #include "pa_vbool.h" -volatile const char * IDENT_INT_C="$Id: int.C,v 1.74 2026/01/06 16:36:39 moko Exp $" IDENT_PA_VINT_H; +volatile const char * IDENT_INT_C="$Id: int.C,v 1.76 2026/04/25 13:38:46 moko Exp $" IDENT_PA_VINT_H; // externs @@ -49,8 +49,8 @@ static void _bool(Request& r, MethodPara typedef void (*vint_op_func_ptr)(VInt& vint, double param); -static void __inc(VInt& vint, double param) { vint.inc(clip2wint(param)); } -static void __dec(VInt& vint, double param) { vint.inc(clip2wint(-param)); } +static void __inc(VInt& vint, double param) { vint.inc(param); } +static void __dec(VInt& vint, double param) { vint.inc(-param); } static void __mul(VInt& vint, double param) { vint.mul(param); } static void __div(VInt& vint, double param) { vint.div(param); } static void __mod(VInt& vint, double param) { vint.mod(clip2wint(param)); }