]> git.cameronkatri.com Git - mandoc.git/blob - regress/roff/cond/numeric.in
cope with changes in BASE messages
[mandoc.git] / regress / roff / cond / numeric.in
1 .TH COND-NUMERIC 1 "December 16, 2014" OpenBSD
2 .SH NAME
3 cond-numeric \- roff conditions involving numbers
4 .SH DESCRIPTION
5 positive number:
6 plain
7 .ie 42 (t)
8 .el (f)
9 negated
10 .ie !42 (t)
11 .el (f)
12 .PP
13 negative number:
14 plain
15 .ie -42 (t)
16 .el (f)
17 negated
18 .ie !-42 (t)
19 .el (f)
20 .PP
21 second number missing:
22 .ie 42=bad worse
23 .el ok
24 .PP
25 operator "<":
26 smaller
27 .ie 1<2 (t)
28 .el (f)
29 equal
30 .ie 1<1 (t)
31 .el (f)
32 greater
33 .ie 2<1 (t)
34 .el (f)
35 .PP
36 operator "<=":
37 smaller
38 .ie 1<=2 (t)
39 .el (f)
40 equal
41 .ie 1<=1 (t)
42 .el (f)
43 greater
44 .ie 2<=1 (t)
45 .el (f)
46 .PP
47 operator "=":
48 smaller
49 .ie 1=2 (t)
50 .el (f)
51 equal
52 .ie 1=1 (t)
53 .el (f)
54 greater
55 .ie 2=1 (t)
56 .el (f)
57 .PP
58 operator "==":
59 smaller
60 .ie 1==2 (t)
61 .el (f)
62 equal
63 .ie 1==1 (t)
64 .el (f)
65 greater
66 .ie 2==1 (t)
67 .el (f)
68 .PP
69 operator ">=":
70 smaller
71 .ie 1>=2 (t)
72 .el (f)
73 equal
74 .ie 1>=1 (t)
75 .el (f)
76 greater
77 .ie 2>=1 (t)
78 .el (f)
79 .PP
80 operator ">":
81 smaller
82 .ie 1>2 (t)
83 .el (f)
84 equal
85 .ie 1>1 (t)
86 .el (f)
87 greater
88 .ie 2>1 (t)
89 .el (f)
90 .PP
91 with negative numbers:
92 mm
93 .ie -2<-1 (t)
94 .el (f)
95 mp
96 .ie -2<1 (t)
97 .el (f)
98 pm
99 .ie 1>-2 (t)
100 .el (f)
101 .PP
102 operator "&":
103 00
104 .ie 0&0 (t)
105 .el (f)
106 01
107 .ie 0&1 (t)
108 .el (f)
109 10
110 .ie 1&0 (t)
111 .el (f)
112 11
113 .ie 1&1 (t)
114 .el (f)
115 .PP
116 operator ":":
117 00
118 .ie 0:0 (t)
119 .el (f)
120 01
121 .ie 0:1 (t)
122 .el (f)
123 10
124 .ie 1:0 (t)
125 .el (f)
126 11
127 .ie 1:1 (t)
128 .el (f)
129 .PP
130 with scaling units:
131 1i>2c
132 .ie 1i>2c (t)
133 .el (f)
134 1i-6P
135 .ie 1i-6P (t)
136 .el (f)
137 .PP
138 unmatched parenthesis:
139 .ie (
140 (t)
141 .el (f)
142 one
143 .ie (1 (t)
144 .el (f)
145 .PP
146 negated unmatched parenthesis:
147 .ie !(
148 (t)
149 .el (f)
150 zero
151 .ie !(0 (t)
152 .el (f)