aboutsummaryrefslogtreecommitdiff
path: root/src/interp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp')
-rw-r--r--src/interp/g-opt.boot2
-rw-r--r--src/interp/g-util.boot17
2 files changed, 19 insertions, 0 deletions
diff --git a/src/interp/g-opt.boot b/src/interp/g-opt.boot
index 32f7c426..1c45d60f 100644
--- a/src/interp/g-opt.boot
+++ b/src/interp/g-opt.boot
@@ -446,6 +446,8 @@ $VMsideEffectFreeOperators ==
%irem %iquo %idivide
%feq %flt %fle %fgt %fge %fmul %fadd %fsub %fexp %fmin %fmax %float?
%fpow %fdiv %fneg %i2f %fminval %fmaxval %fbase %fprec %ftrunc
+ %fsin %fcos %ftan %fcot %fsec %fcsc %fatan %facot
+ %fsinh %fcosh %ftanh %fcsch %fcoth %fsech %fasinh %facsch
%nil %pair? %lconcat %llength %lfirst %lsecond %lthird
%lreverse %lempty? %hash %ismall? %string? %f2s
%ccst %ceq %clt %cle %cgt %cge %c2i %i2c %sname
diff --git a/src/interp/g-util.boot b/src/interp/g-util.boot
index d9145d47..96bbe1fd 100644
--- a/src/interp/g-util.boot
+++ b/src/interp/g-util.boot
@@ -413,6 +413,23 @@ for x in [
['%fpow, :'EXPT],
['%fsub, :"-"],
+ ['%fsin, :'SIN],
+ ['%fcos, :'COS],
+ ['%ftan, :'TAN],
+ ['%fcot, :'COT],
+ ['%fsec, :'SEC],
+ ['%fcsc, :'CSC],
+ ['%fatan, :'ATAN],
+ ['%facot, :'ACOT],
+ ['%fsinh, :'SINH],
+ ['%fcosh, :'COSH],
+ ['%ftanh, :'TANH],
+ ['%fcsch, :'CSCH],
+ ['%fcoth, :'COTH],
+ ['%fsech, :'SECH],
+ ['%fasinh, :'ASINH],
+ ['%facsch, :'ACSCH],
+
-- string operations
['%f2s, :'DFLOAT_-FORMAT_-GENERAL],