diff options
author | dos-reis <gdr@axiomatics.org> | 2010-06-26 00:43:16 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2010-06-26 00:43:16 +0000 |
commit | 909cb7e77463267ae5d7403ae480cf8bd67c15c2 (patch) | |
tree | 8680bb660ea48769d04d71dbd5b56b7aac4dae87 /src/interp | |
parent | 90fc77c04c5f93595231f0da603d3f48e7ebbddb (diff) | |
download | open-axiom-909cb7e77463267ae5d7403ae480cf8bd67c15c2.tar.gz |
* interp/g-util.boot: Expand %f2s.
* interp/g-opt.boot ($VMsideEffectFreeOperators): Include %f2s.
* algebra/string.spad.pamphlet (StringCategory) [string]: Add
overload DoubleFloat -> %.
(String): Define it.
Diffstat (limited to 'src/interp')
-rw-r--r-- | src/interp/g-opt.boot | 2 | ||||
-rw-r--r-- | src/interp/g-util.boot | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/interp/g-opt.boot b/src/interp/g-opt.boot index dbf05c9d..d526f439 100644 --- a/src/interp/g-opt.boot +++ b/src/interp/g-opt.boot @@ -477,7 +477,7 @@ $VMsideEffectFreeOperators == %feq %flt %fle %fgt %fge %fmul %fadd %fsub %fexp %fmin %fmax %float? %fpow %fdiv %fneg %i2f %fminval %fmaxval %fbase %fprec %ftrunc %nil %pair? %lconcat %llength %lfirst %lsecond %lthird - %lreverse %lempty? %hash %ismall? %string? + %lreverse %lempty? %hash %ismall? %string? %f2s %ceq %clt %cle %cgt %cge %c2i %i2c) ++ List of simple VM operators diff --git a/src/interp/g-util.boot b/src/interp/g-util.boot index 95618b16..b718e253 100644 --- a/src/interp/g-util.boot +++ b/src/interp/g-util.boot @@ -352,6 +352,9 @@ for x in [ ['%fpow, :'EXPT], ['%fsub, :"-"], + -- string operations + ['%f2s, :'DFLOAT_-FORMAT_-GENERAL], + -- list contants -- ['%nil, :'NIL], -- unary list operations |