/vqdr/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/vqdr/trunk

« back to all changes in this revision

Viewing changes to src/libvqdr/operator/add_operator_token.vala

  • Committer: Gustav Hartvigsson
  • Date: 2021-09-08 21:15:31 UTC
  • mfrom: (12.1.3 fastnumber)
  • Revision ID: gustav.hartvigsson@gmail.com-20210908211531-xyhqodfa2gmzxurl
* merge the FastNumber branch. this will make code reuse better.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
        l_child.evaluate (instance);
43
43
        r_child.evaluate (instance);
44
44
        
45
 
        result_value = l_child.result_value + l_child.result_value;
46
 
        result_max_value = l_child.result_max_value + l_child.result_max_value;
47
 
        result_min_value = l_child.result_min_value + l_child.result_min_value;
 
45
        result_value = l_child.result_value.add (l_child.result_value);
 
46
        result_max_value = l_child.result_max_value.add (l_child.result_max_value);
 
47
        result_min_value = l_child.result_min_value.add (l_child.result_min_value);
48
48
        reorder_max_min_values ();
49
49
        result_string = l_child.result_string + "+" + l_child.result_string;
50
50
      }