aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates/operators.html
blob: 1488b9a8135075c61ebb249d7f1e05808de75ee8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{% if a * c > b -%}
  mul
{%- endif -%}
{% if c / c == a -%}
  div
{%- endif -%}
{% if a % c == b -%}
  mod
{%- endif -%}
{% if a + b == c -%}
  add
{%- endif -%}
{% if a << b == c -%}
  rsh
{%- endif -%}
{% if c >> b == a -%}
  lsh
{%- endif -%}
{% if a & b == b -%}
  band
{%- endif -%}
{% if b ^ c == a + c -%}
  bxor
{%- endif -%}
{% if b | c == a + c -%}
  bor
{%- endif -%}
{% if a == b && a + b == c -%}
  and
{%- endif -%}
{% if a == c || a == b -%}
  or
{%- endif -%}