From 67b6713b221a25763d1c08e12e8b715d432db5f8 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 8 Apr 2023 17:14:54 +0200 Subject: Various improvements to standard library docs --- std/Number/Ternary.bruijn | 3 +++ 1 file changed, 3 insertions(+) (limited to 'std/Number/Ternary.bruijn') diff --git a/std/Number/Ternary.bruijn b/std/Number/Ternary.bruijn index 9fb075e..f115349 100644 --- a/std/Number/Ternary.bruijn +++ b/std/Number/Ternary.bruijn @@ -327,12 +327,15 @@ compare-case [[[[[go (1 - 0)]]]]] ⧗ a → b → c → Number → Number → d go [=?0 5 (>?0 4 3)] # returns 1 if a>b, -1 if a… compare + # negates a balanced ternary number if <0 abs [