3,038
edits
m (3 revisions imported: Migrate from miraheze) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Built-in|High minus|¯}} or '''Negative''' is the character used in [[numeric literal]]s to indicate that a number is [[negate]]d. [[APL syntax]] | {{Built-in|High minus|¯}} or '''Negative''' is the character used in [[numeric literal]]s to indicate that a number is [[negate]]d. [[APL syntax]] dictates that it be distinct from the function [[Negate]] in order to allow all [[number]]s to be expressed as numeric literals. This ability is particularly useful in [[stranding]] or vector notation, since a number obtained from [[function]] application is harder to use in a strand—depending on the type of stranding available, it must either be parenthesized or cannot be stranded at all. It also allows negative numbers to be used as left [[argument]]s to functions, or as [[operand]]s. | ||
== Examples == | == Examples == |