aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-06-27 21:16:32 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-06-27 21:16:32 -0400
commitb5b85731f1aa4acf5ae2d57b97f615eb23052059 (patch)
treeeb89f30c79489c591b32326a8311fd3f2f938b6a /src
parentd6ac554a14a795321334ddcd3b2ed4eb906a6ffc (diff)
Define min/max with ⍟ instead of ◶
Diffstat (limited to 'src')
-rw-r--r--src/r1.bqn4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/r1.bqn b/src/r1.bqn
index dbbfe8cb..f1eb209f 100644
--- a/src/r1.bqn
+++ b/src/r1.bqn
@@ -696,8 +696,8 @@ _repeat_←{
⋆ ↩ ⋆ _perv
√ ← ⋆⟜(÷2) ⊘ (⋆⟜÷˜)
| ← (| ⊘ (>○|◶{𝕩-𝕨×⌊𝕩÷𝕨}‿(+⍟(<⟜0◶⟨0⊸>,0⊸<⟩))) ) _perv
-⌊ ↩ (⌊ ⊘ {(𝕨>𝕩)⊑𝕨‿𝕩}) _perv
-⌈ ↩ (-∘⌊∘- ⊘ {(𝕨<𝕩)⊑𝕨‿𝕩}) _perv
+⌊ ↩ (⌊ ⊘ (⊣⍟<)) _perv
+⌈ ↩ (-∘⌊∘- ⊘ (⊣⍟>)) _perv
∧ ← ⍋⊸⊏ ⊘ (× _perv)
∨ ← ⍒⊸⊏ ⊘ ((+-×) _perv)
× ↩ (0⊸(<->) ⊘ ×) _perv