Unit 2 Signs of Operation and Comparison
Signs of Operation
In Nemeth Code, the numeric indicator is placed before the first digit of a numeral, its affect applies to the entire number (or symbol-sequence), and it is terminated by the next empty space. There is no space between a number and a sign of operation, and the numeric indicator is not repeated after the sign of operation.
Plus (+) | ⠬ |
Minus (-) | ⠤ |
Multiplication dot (∙) | ⠡ |
Multiplication (x) | ⠈⠡ |
Division; Divide-by (÷) | ⠨⠌ |
* Notice that the multiplication cross and the divide by symbols are two-cell symbols.
Examples:
3+3+3+3
⠼⠒⠬⠒⠬⠒⠬⠒
12-7
⠼⠂⠆⠤⠶
* Notice that the minus sign looks like the hyphen symbol. Just as in print, it is context that determines which symbol is being used.
2∙8
⠼⠆⠡⠦
8x2
⠼⠦⠈⠡⠆
54÷6-4
⠼⠢⠲⠨⠌⠖⠤⠲
2∙3+5∙6
⠼⠆⠡⠒⠬⠢⠡⠖
Signs of Comparison
The following signs of comparison are 2-cell symbols. All signs of comparison require a space before and after the symbol.
Equals (=) | ⠨⠅ |
Less than (<) | ⠐⠅ |
Greater than (>) | ⠨⠂ |
Examples:
3x4 = 12
⠼⠒⠈⠡⠲⠀⠨⠅⠀⠼⠂⠆
6+5∙2 > 15
⠼⠖⠬⠢⠡⠆⠀⠨⠂⠀⠼⠂⠢
72 < 9x9
⠼⠶⠆⠀⠐⠅⠀⠼⠔⠈⠡⠔
27 = 3∙9 = 3∙3∙3
⠼⠆⠶⠀⠨⠅⠀⠼⠒⠡⠔⠀⠨⠅⠀⠼⠒⠡⠒⠡⠒
Negative Numbers
A negative number is formed by placing a minus sign in front of a number. The negative sign is placed in front of the numeric indicator rather than between the indicator and the numeral.
Examples:
4-8 = -4
⠼⠲⠤⠦⠀⠨⠅⠀⠤⠼⠲
-5-5 = -10
⠤⠼⠢⠤⠢⠀⠨⠅⠀⠤⠼⠂⠴
-13+10 = -3
⠤⠼⠂⠒⠬⠂⠴⠀⠨⠅⠀⠤⠼⠒