diff options
author | dos-reis <gdr@axiomatics.org> | 2008-10-18 01:17:39 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2008-10-18 01:17:39 +0000 |
commit | 71b1b370927b8696794927a670520919944a645d (patch) | |
tree | c2f083fdc3ba5b34535239e534fd97a05073cf3d | |
parent | 6e4fb4c2b8cc5f867eceb3bc39572fe218bb5d13 (diff) | |
download | open-axiom-71b1b370927b8696794927a670520919944a645d.tar.gz |
Fix AW/374
* algebra/radix.spad.pamphlet (intgroup$RadixExpansion): Check for
big radix.
-rw-r--r-- | src/ChangeLog | 6 | ||||
-rw-r--r-- | src/algebra/radix.spad.pamphlet | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 2525ae03..5521c226 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2008-10-17 Waldek Hebisch <hebisch@math.uni.wroc.pl> + + Fix AW/374 + * algebra/radix.spad.pamphlet (intgroup$RadixExpansion): Check for + big radix. + 2008-10-17 Alfredo Portes <doyenatccny@gmail.com> Fix AW/293 diff --git a/src/algebra/radix.spad.pamphlet b/src/algebra/radix.spad.pamphlet index 7cee785e..5ae58510 100644 --- a/src/algebra/radix.spad.pamphlet +++ b/src/algebra/radix.spad.pamphlet @@ -174,7 +174,9 @@ RadixExpansion(bb): Exports == Implementation where intgroup(li: List I): OUT == empty? li => error "intgroup needs non-null list" - empty? rest li => intToExpr first(li) + empty? rest li => + abs bb <= 36 intToExpr first(li) + first(li)::OUT abs bb <= 10 => hconcat [i :: OUT for i in li] abs bb <= 36 => hconcat [intToExpr(i) for i in li] blankSeparate [i :: OUT for i in li] |