Uiua: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 75: Line 75:
| <code>±</code> || Sign || Numerical sign (1, ¯1, or 0)
| <code>±</code> || Sign || Numerical sign (1, ¯1, or 0)
|-
|-
| <code>¯</code> || Negate || Negate a number
|-
| <code>⌵</code> || Absolute value || Get the absolute value of a number
|-
| <code>√</code> || Sqrt || Take the square root of a number
|-
| <code>○</code> || Sine || Get the sine of a number
|-
| <code>⌊</code> || Floor || Round to the nearest integer towards <code>¯∞</code>
|-
| <code>⌈</code> || Ceiling || Round to the nearest integer towards <code>∞</code>
|-
| <code>⁅</code> || Round || Round to the nearest integer
|}
==== Dyadic Pervasive ====
Operate on every pair of elements in two arrays (Note that True is 1 and False is 0)
{| class="wikitable" style="margin:auto"
|+ Table of Monadic Pervasive in Uiua
! Glyph !! Name !! Definition
|-
| <code>=</code> || Equals || Compare for equality
|}
|}
== External links ==
== External links ==
20

edits

Navigation menu