aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates/operators.html
blob: 7d8ed638a8051312908088a0333800960d2f9349 (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 == 1 -%}
  or
{%- endif -%}