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:20:58 bnv
14 /* ------------------ Lx2d ------------------- */
16 Lx2d( const PLstr to
, const PLstr from
, long n
)
28 Lspace(&tmp
,from
,0,' ');
29 Lright(to
,&tmp
,n
,'0');
30 sign
= HEXVAL(LSTR(*to
)[0]) & 0x8;
34 if (n
==sizeof(long)*2)
35 LINT(*to
) = -(~LINT(*to
) + 1);
37 LINT(*to
) = LINT(*to
) - (1L << (n
*4));
42 if ((LLEN(*to)&1) && LSTR(*to)[0]>'7') {
43 Lright(&tmp,to,LLEN(*to)+1,'f');