Home
last modified time | relevance | path

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

/Zephyr-latest/samples/subsys/smf/smf_calculator/src/
Dsmf_calculator_thread.c45 struct operand operand_2; member
100 double operand_2 = strtod(s->operand_2.string, NULL); in calculate_result() local
106 result = operand_1 + operand_2; in calculate_result()
109 result = operand_1 - operand_2; in calculate_result()
112 result = operand_1 * operand_2; in calculate_result()
115 if (operand_2 != 0.0) { in calculate_result()
116 result = operand_1 / operand_2; in calculate_result()
154 setup_operand(&s->operand_2); in chain_calculations()
189 setup_operand(&s->operand_2); in on_entry()
421 negate(&s->operand_2); in negated_2_entry()
[all …]