Power (function): Difference between revisions
Jump to navigation
Jump to search
(Created page with ":''This page describes the dyadic arithmetic function. For the monadic natural exponential function (power of e), see Exponential. For the operator that iterates the funct...") |
|||
Line 7: | Line 7: | ||
2*¯1 0 1 2 3 4 5 | 2*¯1 0 1 2 3 4 5 | ||
0.5 1 2 4 8 16 32 | 0.5 1 2 4 8 16 32 | ||
</source> | |||
A common technique is to choose [[sign]] based on [[Boolean]]s: | |||
<source lang=apl> | |||
¯1*1 0 0 1 0 | |||
¯1 1 1 ¯1 1 | |||
</source> | </source> | ||