git-svn-id: svn://db.shs.com.ru/libs@921 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2020-03-31 08:48:38 +00:00
parent 538142733f
commit 262284ed65

View File

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