Home
last modified time | relevance | path

Searched refs:getDegUnit (Results 1 – 13 of 13) sorted by relevance

/dports/math/libqalculate/libqalculate-3.17.0/libqalculate/
H A DMathStructure-eval.cc1661 …case ANGLE_UNIT_DEGREES: {if(CALCULATOR->getDegUnit()) {marg.multiply(CALCULATOR->getDegUnit(), tr… in complexToPolarForm()
1678getDegUnit()) {marg.calculateMultiply(Number(180, 1), eo2); marg.calculateDivide(CALCULATOR->getVa… in complexToPolarForm()
1694getDegUnit()) {marg.calculateMultiply(Number(180, 1), eo2); marg.calculateDivide(CALCULATOR->getVa… in complexToPolarForm()
1723 …case ANGLE_UNIT_DEGREES: {if(CALCULATOR->getDegUnit()) {marg.multiply(CALCULATOR->getDegUnit(), tr… in complexToCisForm()
1737getDegUnit()) {calculateMultiply(Number(180, 1), eo2); calculateDivide(CALCULATOR->getVariableById… in complexToCisForm()
1750getDegUnit()) {CHILD(1).calculateMultiply(Number(180, 1), eo2); CHILD(1).calculateDivide(CALCULATO… in complexToCisForm()
1771 if(eo.parse_options.angle_unit == ANGLE_UNIT_DEGREES) u = CALCULATOR->getDegUnit(); in convert_to_default_angle_unit()
H A DBuiltinFunctions-trigonometry.cc171 …f(vargs[0].isMultiplication() && vargs[0].size() == 2 && vargs[0][1] == CALCULATOR->getDegUnit()) { in calculate()
175 …f(vargs[0].isMultiplication() && vargs[0].size() == 2 && vargs[0][0] == CALCULATOR->getDegUnit()) { in calculate()
417 …f(vargs[0].isMultiplication() && vargs[0].size() == 2 && vargs[0][1] == CALCULATOR->getDegUnit()) { in calculate()
421 …f(vargs[0].isMultiplication() && vargs[0].size() == 2 && vargs[0][0] == CALCULATOR->getDegUnit()) { in calculate()
656 …f(vargs[0].isMultiplication() && vargs[0].size() == 2 && vargs[0][1] == CALCULATOR->getDegUnit()) { in calculate()
660 …f(vargs[0].isMultiplication() && vargs[0].size() == 2 && vargs[0][0] == CALCULATOR->getDegUnit()) { in calculate()
H A DBuiltinFunctions-util.cc445 …else if(m[0].contains(CALCULATOR->getDegUnit(), false, true, true) > 0) m[0] /= CALCULATOR->getDeg… in replace_function()
449 case ANGLE_UNIT_DEGREES: {m[0] *= CALCULATOR->getDegUnit(); break;} in replace_function()
H A DCalculator-parse.cc2489 …tains(getGraUnit(), false, true, true) <= 0 && mstack.back()->contains(getDegUnit(), false, true, … in parseOperators()
2491 case ANGLE_UNIT_DEGREES: {mstack.back()->multiply(getDegUnit()); break;} in parseOperators()
2583 …tains(getGraUnit(), false, true, true) <= 0 && mstack.back()->contains(getDegUnit(), false, true, … in parseOperators()
2585 case ANGLE_UNIT_DEGREES: {mstack.back()->multiply(getDegUnit()); break;} in parseOperators()
2697 …tains(getGraUnit(), false, true, true) <= 0 && mstack.back()->contains(getDegUnit(), false, true, … in parseOperators()
2699 case ANGLE_UNIT_DEGREES: {mstack.back()->multiply(getDegUnit()); break;} in parseOperators()
3080 …ains(getGraUnit(), false, true, true) <= 0 && mstruct->last().contains(getDegUnit(), false, true, … in parseOperators()
3082 case ANGLE_UNIT_DEGREES: {mstruct->last().multiply(getDegUnit()); break;} in parseOperators()
3567 …ains(getGraUnit(), false, true, true) <= 0 && mstruct->last().contains(getDegUnit(), false, true, … in parseOperators()
3569 case ANGLE_UNIT_DEGREES: {mstruct->last().multiply(getDegUnit()); break;} in parseOperators()
H A DBuiltinFunctions-explog.cc757 …f(vargs[0].isMultiplication() && vargs[0].size() == 2 && vargs[0][1] == CALCULATOR->getDegUnit()) { in calculate()
761 …f(vargs[0].isMultiplication() && vargs[0].size() == 2 && vargs[0][0] == CALCULATOR->getDegUnit()) { in calculate()
H A DMathStructure-print.cc1849 case ANGLE_UNIT_DEGREES: {return CALCULATOR->getDegUnit();} in default_angle_unit()
2993 if(o_unit == CALCULATOR->getDegUnit() && print(po) == SIGN_DEGREE) { in neededMultiplicationSign()
3123 …&& po.use_unicode_signs && po.abbreviate_names && CHILD(i)[0].unit() == CALCULATOR->getDegUnit()) { in print()
3275 …() && po.use_unicode_signs && po.abbreviate_names && CHILD(0).unit() == CALCULATOR->getDegUnit()) { in print()
3293 …unicode_signs && po.abbreviate_names && CHILD(0).unit() == CALCULATOR->getDegUnit()) po2.use_unico… in print()
H A DCalculator.h780 Unit *getDegUnit();
H A DFunction.cc2254 if(mstruct->contains(CALCULATOR->getDegUnit(), false, true, true) > 0) return; in parse()
2260 mstruct->multiply(CALCULATOR->getDegUnit()); in parse()
H A DCalculator-calculate.cc315 (*mstruct)[i - 1].multiply(getDegUnit()); in calculateRPN()
440 (*mstruct)[i - 1].multiply(getDegUnit()); in calculateRPN()
H A DMathStructure-isolatex.cc4934 CHILD(0) /= CALCULATOR->getDegUnit(); in isolate_x_sub()
5089 case ANGLE_UNIT_DEGREES: {CHILD(1) *= CALCULATOR->getDegUnit(); break;} in isolate_x_sub()
5135 case ANGLE_UNIT_DEGREES: {CHILD(1) *= CALCULATOR->getDegUnit(); break;} in isolate_x_sub()
5189 case ANGLE_UNIT_DEGREES: {CHILD(1) *= CALCULATOR->getDegUnit(); break;} in isolate_x_sub()
H A DCalculator.cc627 Unit *Calculator::getDegUnit() { in getDegUnit() function in Calculator
/dports/math/qalculate/qalculate-gtk-3.17.0/src/
H A Dinterface.cc820 …, "label_zero", "button_zero", "0", NULL, "x<sup>0</sup>", CALCULATOR->getDegUnit()->title(true).c… in update_custom_buttons()
3805 … i || index < 0)) SET_BUTTONS_EDIT_ITEM_3("0", "0", "x^0", CALCULATOR->getDegUnit()->title(true).c… in update_custom_buttons_edit()
H A Dcallbacks.cc7968 …t() && po.use_unicode_signs && po.abbreviate_names && m[i][0].unit() == CALCULATOR->getDegUnit()) { in draw_structure()
8314 …Unit() && po.use_unicode_signs && po.abbreviate_names && m[0].unit() == CALCULATOR->getDegUnit()) { in draw_structure()