[BACK]Return to numeric.in CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / roff / cond

Annotation of mandoc/regress/roff/cond/numeric.in, Revision 1.2

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

CVSweb