aboutsummaryrefslogtreecommitdiffhomepage
path: root/std/Float.bruijn
diff options
context:
space:
mode:
authorMarvin Borner2024-02-16 17:40:52 +0100
committerMarvin Borner2024-02-16 17:48:04 +0100
commit241315c452b1b06e4b9721cf336d9ab150f7234d (patch)
treef1d03bbed031d75ac23360310cbbef8a1034a735 /std/Float.bruijn
parentf3dc81930ebbc6727f9a796f71dceffbcb753752 (diff)
Added basic stdlib CI
Diffstat (limited to 'std/Float.bruijn')
-rw-r--r--std/Float.bruijn6
1 files changed, 3 insertions, 3 deletions
diff --git a/std/Float.bruijn b/std/Float.bruijn
index d2ed080..c272d2b 100644
--- a/std/Float.bruijn
+++ b/std/Float.bruijn
@@ -6,14 +6,14 @@
:import std/Combinator .
:import std/Number .
-:import std/Pair P
+:import std/Pair .
pi (+3) : (+14159)
# generates a float from a normal balanced ternary number
-float! \(P.…:…) (+0)
+float! \…:… (+0)
# adds two floating numbers
# TODO: Carry support
# - needed: mod, div (?) -> ternary carry != decimal carry
-add P.zip-with …+…
+add zip-with …+…