This is an example of using spad )abbrev package CAST cast cast(): exports == implementation where spad Compiling FriCAS source code from file
/var/zope2/var/LatexWiki/76482798552469661-25px001.spad using old
system compiler.
CAST abbreviates package cast
------------------------------------------------------------------------
initializing NRLIB CAST for cast
compiling into NRLIB CAST
compiling exported cast1 : Integer -> Float
CAST;cast1;IF;1 is replaced by LETji
Time: 0.05 SEC.This command causes a "memory may be damaged error":
\begin{axiom}
cast1(1)$CAST
\end{axiom}
aldor #include "axiom"
cast2(i: Integer): Float == {
j:Float := (i pretend Float)
}
aldor Compiling FriCAS source code from file
/var/zope2/var/LatexWiki/casta.as using AXIOM-XL compiler and
options
-O -Fasy -Fao -Flsp -laxiom -Mno-AXL_W_WillObsolete -DAxiom -Y $AXIOM/algebra
Use the system command )set compiler args to change these
options.
#1 (Warning) Deprecated message prefix: use `ALDOR_' instead of `_AXL'
Compiling Lisp source code from file ./casta.lsp
Issuing )library command for casta
Reading /var/zope2/var/LatexWiki/casta.asyThis command also causes a "memory may be damaged error":
\begin{axiom}
cast2(1)
\end{axiom}
|