File: test_expr1.out

package info (click to toggle)
libhtml-template-pro-perl 0.9524-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,512 kB
  • sloc: ansic: 1,841; perl: 1,474; yacc: 404; pascal: 118; makefile: 6
file content (26 lines) | stat: -rw-r--r-- 382 bytes parent folder | download | duplicates (6)
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
<HTML><BODY>
<H1> test numeric expr </H1>
ok 
true 
true 
ok 
true 
ok 
2+2=4
ONE+2=3
ONE + TWO=3
THREE=3
(ONE+TWO)==THREE=1
ONE+TWO == THREE=1
(ONE+TWO == THREE) and (THREE && TWO) and sin(ONE)=1
sin(ONE)=0.841471
111.111 + 222.333555=333.444555
7%3=1
(70*5)%33-20=0
7 && 3=1
strings are true: 
'aaa' && 'bbb'=1
'aaa' || 0=1
minus is handled properly:
MINUSTEN+8=-2
</body></html>