diff options
author | dos-reis <gdr@axiomatics.org> | 2008-04-03 04:23:42 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2008-04-03 04:23:42 +0000 |
commit | 001e19b08ba7fb1b9e6f6bdb44a82ba3db3fc532 (patch) | |
tree | da9e2fe5d81ff4cd7709d12e44b8c3e348b8a8e3 /src/algebra/radix.spad.pamphlet | |
parent | a7bab9a6c2070d05e2dbd256ce455079c8ced385 (diff) | |
download | open-axiom-001e19b08ba7fb1b9e6f6bdb44a82ba3db3fc532.tar.gz |
Replace `^=' with `~='.
Diffstat (limited to 'src/algebra/radix.spad.pamphlet')
-rw-r--r-- | src/algebra/radix.spad.pamphlet | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/algebra/radix.spad.pamphlet b/src/algebra/radix.spad.pamphlet index d26f7b52..02fd8169 100644 --- a/src/algebra/radix.spad.pamphlet +++ b/src/algebra/radix.spad.pamphlet @@ -193,7 +193,7 @@ RadixExpansion(bb): Exports == Implementation where radixInt(n,bas) == rits: List I := nil() - while abs n ^= 0 repeat + while abs n ~= 0 repeat qr := divide(n,bas) n := qr.quotient rits := concat(qr.remainder,rits) @@ -226,7 +226,7 @@ RadixExpansion(bb): Exports == Implementation where ritsi := rits ritsn := rits; for i in 1..n repeat ritsn := rest ritsn i := 0 - while first(ritsi) ^= first(ritsn) repeat + while first(ritsi) ~= first(ritsn) repeat ritsi := rest ritsi ritsn := rest ritsn i := i + 1 |