Subtract: Difference between revisions
Content added Content deleted
(add subtract page) |
("Better category ordering, add redirects to categories, fix pseudo-adverb categories") |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1:
{{primitive|x-y}}
The '''Subtract''' or '''Minus''' function, generally denoted by <code>-</code>, is used for subtraction in K.▼
▲The '''
The ''Subtract'' primitive is [[Atomicity|fully atomic.]]<syntaxhighlight>▼
1-2
-1
Line 11 ⟶ 13:
(-22 -33
-6 4)
</pre>
[[Category:Verbs]]
[[Category:Operator verbs]]
[[Category:Primitives]]
|
Latest revision as of 06:42, 9 July 2022
Subtract
x-y
The subtract or minus function, generally denoted by -
, is used for subtraction in K.
The subtract primitive is fully atomic.
1-2 -1 1 2 3 - 4 5 6 -3 -3 -3 ((23;45);(3;4)) - ((45;78);(9;0)) (-22 -33 -6 4)