High minus: Difference between revisions

Jump to navigation Jump to search
59 bytes removed ,  15:30, 15 November 2019
no edit summary
Miraheze>Marshall
(Created page with "{| class=vertical-navbox style="float:right; font-size:500%; margin:0 1ex;" |<code>¯</code> |} In APL syntax, the '''high minus''' (<source lang=apl inline>¯</source>) i...")
 
Miraheze>Adám Brudzewsky
No edit summary
Line 1: Line 1:
{| class=vertical-navbox style="float:right; font-size:500%; margin:0 1ex;"
{{Built-in|High minus|¯}} or '''Negative''' is the character used in [[numeric literal]]s to indicate that a number is [[negate]]d. [[Syntactic_overview|APL syntax]] dicatetes 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.
|<code>¯</code>
|}
In [[APL syntax]], the '''high minus''' (<source lang=apl inline>¯</source>) is a character used in [[numeric literal]]s to indicate that a number is [[negate]]d. It is 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 ==
Line 27: Line 24:
¯3
¯3
</source>
</source>
{{APL built-ins}}

Navigation menu