diff options
Diffstat (limited to 'std/Float.bruijn')
-rw-r--r-- | std/Float.bruijn | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/std/Float.bruijn b/std/Float.bruijn index d3fce4e..3d88d6e 100644 --- a/std/Float.bruijn +++ b/std/Float.bruijn @@ -4,13 +4,12 @@ :import std/Combinator . :import std/Number . -:import std/List . :import std/Pair P # generates a float from a normal balanced ternary number -float! \(P.:) (+0) +float! \(P.…:…) (+0) # adds two floating numbers # TODO: Carry support # - needed: mod, div (?) -> ternary carry != decimal carry -add P.zip-with (+) +add P.zip-with …+… |