source: trunk/minix/lib/ack/libp/fef.e@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 917 bytes
Line 
1#
2; $Header: /cvsup/minix/src/lib/ack/libp/fef.e,v 1.1 2005/10/10 15:27:46 beng Exp $
3;
4; (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands.
5;
6; This product is part of the Amsterdam Compiler Kit.
7;
8; Permission to use, sell, duplicate or disclose this software must be
9; obtained in writing. Requests for such permissions may be sent to
10;
11; Dr. Andrew S. Tanenbaum
12; Wiskundig Seminarium
13; Vrije Universiteit
14; Postbox 7161
15; 1007 MC Amsterdam
16; The Netherlands
17;
18;
19
20 mes 2,_EM_WSIZE,_EM_PSIZE
21
22#define FARG 0
23#define ERES _EM_DSIZE
24
25; _fef is called with two parameters:
26; - address of exponent result (ERES)
27; - floating point number to be split (FARG)
28; and returns an _EM_DSIZE-byte floating point number
29
30 exp $_fef
31 pro $_fef,0
32 lal FARG
33 loi _EM_DSIZE
34 fef _EM_DSIZE
35 lal ERES
36 loi _EM_PSIZE
37 sti _EM_WSIZE
38 ret _EM_DSIZE
39 end ?
Note: See TracBrowser for help on using the repository browser.