4 * Revision 1.1 2001/04/04 05:43:38 wang
5 * First commit: compiles on Linux, Amiga, Windows, Windows CE, generic gcc
7 * Revision 1.1 1998/07/02 17:18:00 bnv
14 /* ------------------- Lmult ----------------- */
16 Lmult( const PLstr to
, const PLstr A
, const PLstr B
)
21 if ((LTYPE(*A
)==LINTEGER_TY
) && (LTYPE(*B
)==LINTEGER_TY
)) {
22 LINT(*to
) = LINT(*A
) * LINT(*B
);
23 LTYPE(*to
) = LINTEGER_TY
;
24 LLEN(*to
) = sizeof(long);
26 LREAL(*to
) = TOREAL(*A
) * TOREAL(*B
);
27 LTYPE(*to
) = LREAL_TY
;
28 LLEN(*to
) = sizeof(double);