1984-11-29 14:22:02 +00:00
|
|
|
#
|
|
|
|
mes 2,EM_WSIZE,EM_PSIZE
|
|
|
|
|
1994-06-24 11:31:16 +00:00
|
|
|
; $Id$
|
1984-11-29 14:22:02 +00:00
|
|
|
|
|
|
|
#define ARG1 0
|
|
|
|
#define ARG2 EM_DSIZE
|
|
|
|
#define IRES 2*EM_DSIZE
|
|
|
|
|
|
|
|
; _fif is called with three parameters:
|
|
|
|
; - address of integer part result (IRES)
|
|
|
|
; - float two (ARG2)
|
|
|
|
; - float one (ARG1)
|
|
|
|
; and returns an EM_DSIZE-byte floating point number
|
|
|
|
|
|
|
|
exp $_fif
|
|
|
|
pro $_fif,0
|
|
|
|
lal 0
|
|
|
|
loi 2*EM_DSIZE
|
|
|
|
fif EM_DSIZE
|
|
|
|
lal IRES
|
|
|
|
loi EM_PSIZE
|
|
|
|
sti EM_DSIZE
|
|
|
|
ret EM_DSIZE
|
|
|
|
end ?
|