aboutsummaryrefslogtreecommitdiff
path: root/src/interp/g-util.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-07-29 15:43:35 +0000
committerdos-reis <gdr@axiomatics.org>2010-07-29 15:43:35 +0000
commit17004f202c892fd4d933b94c6b7441c45a06e80b (patch)
tree803b7e6d144ba54c0a3a8911483f0043fdcfbddc /src/interp/g-util.boot
parentec8a295158088547ea1f686c40ec61937bb60122 (diff)
downloadopen-axiom-17004f202c892fd4d933b94c6b7441c45a06e80b.tar.gz
* algebra/sf.spad.pamphlet (DoubleFloat): Use builtin
trigonometric functions. * interp/g-opt.boot ($VMsideEffectFreeOperators): Include them. * interp/g-util.boot: Expand them. * include/edible.H1: Move declarations to clef/edible.c. Remove. * driver/utils.h: Give G linkage to declarations. * sman/Makefile.in: Link programs against C++ runtime.
Diffstat (limited to 'src/interp/g-util.boot')
-rw-r--r--src/interp/g-util.boot17
1 files changed, 17 insertions, 0 deletions
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],