[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

getting screwed by FLONUM call sequences.



If you do want to use these for efficiency reasons but you still
want generality, then you can use the same macrology and trampolines
that numerical code in Macsyma uses, (specifically intended for code which
is Macsyma->Lisp translated).

The macros are in LIBMAX;NUMERM, the runtime support in MAXSRC;NUMER,
and example usage in MAXSRC;ROMBRG and MAXSRC;NDIFFQ. One way to see
how it all hangs together would be to try (in Macsyma):

F(Y):=ROMBERG(X^2,X,0,Y); COMPILE('F);

and see what the generated code is. When you get into stuff like this
it actually gets pretty hairy...

-gjc