git-svn-id: svn://db.shs.com.ru/pip@999 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2020-03-31 08:48:43 +00:00
parent e19266aeeb
commit cff1555421

View File

@@ -1039,9 +1039,7 @@ inline void PIEvaluator::execFunction(const Instruction & ci) {
tmpvars[oi].value = atanc(value(ci.operators[0]));
break;
case bfArcctg:
tmp = atanc(value(ci.operators[0]));
if (tmp == complexd_0) tmpvars[oi].value = 0.;
else tmpvars[oi].value = complexd_1 / tmp;
tmpvars[oi].value = atanc(-value(ci.operators[0])) + M_PI_2;
break;
case bfSh:
tmpvars[oi].value = sinh(value(ci.operators[0]));